Fix RSSI/AM-fix random data displayed switching/flicker

This commit is contained in:
OneOfEleven
2023-09-29 10:25:33 +01:00
parent 18409ddd01
commit 5fe5752753
5 changed files with 46 additions and 33 deletions

View File

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