Added BK4819_GetRSSI.

This commit is contained in:
Dual Tachyon 2023-08-15 10:52:57 +01:00
parent 44b2abd68e
commit 061a689374
2 changed files with 7 additions and 0 deletions

View File

@ -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;
}

View File

@ -100,5 +100,7 @@ void BK4819_GenTail(uint8_t Tail);
void BK4819_EnableCDCSS(void);
void BK4819_EnableCTCSS(void);
uint16_t BK4819_GetRSSI(void);
#endif