Undo AF change and versioning

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-12-20 15:22:52 +01:00
parent ca9855a607
commit 16f6c247c6
2 changed files with 1 additions and 3 deletions

View File

@@ -84,12 +84,10 @@ uint16_t TEF6686::TestAF() {
for (int x = 0; x < af_counter; x++) {
timing = 0;
devTEF_Set_Cmd(TEF_FM, Cmd_Tune_To, 7, 3, af[x].frequency);
delay(2);
while (timing == 0 && !bitRead(timing, 15)) {
devTEF_Radio_Get_Quality_Status(&status, &aflevel, &afusn, &afwam, &afoffset, &dummy1, &dummy2, &dummy3);
timing = lowByte(status);
}
delay(2);
af[x].score = aflevel - afusn - afwam;
if (afoffset < -125 || afoffset > 125) af[x].score = -32767;
}