forked from mirror/uv-k5-firmware
Added BK4819_GetRSSI.
This commit is contained in:
parent
44b2abd68e
commit
061a689374
@ -726,3 +726,8 @@ void BK4819_EnableCTCSS(void)
|
||||
BK4819_WriteRegister(BK4819_REG_51, 0x904A);
|
||||
}
|
||||
|
||||
uint16_t BK4819_GetRSSI(void)
|
||||
{
|
||||
return BK4819_GetRegister(BK4819_REG_67) & 0x01FF;
|
||||
}
|
||||
|
||||
|
@ -100,5 +100,7 @@ void BK4819_GenTail(uint8_t Tail);
|
||||
void BK4819_EnableCDCSS(void);
|
||||
void BK4819_EnableCTCSS(void);
|
||||
|
||||
uint16_t BK4819_GetRSSI(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user