Fix RSSI/AM-fix random data displayed switching/flicker
This commit is contained in:
4
am_fix.c
4
am_fix.c
@@ -485,8 +485,8 @@ const uint8_t orig_pga = 6; // -3dB
|
||||
if (s != NULL)
|
||||
{
|
||||
const unsigned int index = gain_table_index[vfo];
|
||||
sprintf(s, "idx %2d %4ddB %3u", index, gain_dB[index], prev_rssi[vfo]);
|
||||
//counter = 1;
|
||||
sprintf(s, "%2u.%u %4ddB %3u", index, ARRAY_SIZE(gain_table) - 1, gain_dB[index], prev_rssi[vfo]);
|
||||
counter = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user