More (minor) bugfixes.

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-18 12:30:17 +02:00
parent 8b1dde6648
commit 00ceee0c58
4 changed files with 63 additions and 47 deletions
-2
View File
@@ -209,8 +209,6 @@ bool devTEF_Radio_Get_Processing_Status (uint16_t *highcut, uint16_t *stereo, ui
bool devTEF_Radio_Get_Quality_Status (uint16_t *status, int16_t *level, uint16_t *usn, uint16_t *wam, int16_t *offset, uint16_t *bandwidth, uint16_t *mod, uint8_t *snr) {
uint8_t buf[14];
uint16_t r = devTEF_Get_Cmd(TEF_FM, Cmd_Get_Quality_Data, buf, sizeof(buf));
uint16_t test = Convert8bto16b(buf);
bool bitValue = bitRead(test,15);
*status = Convert8bto16b(buf);
*level = Convert8bto16b(buf + 2);
*usn = Convert8bto16b(buf + 4);