Signal strength always 0 on RSSI screen
Posted: Tue Jun 08, 2021 9:00 am
Hi, you might have already encountered that, but for sure... Spotted in R20210529
Steps to reproduce:
- go to RSSI screen
- signal strength is always 0 even in presence of strong carrier -> bug
VK7JS' fix:
in menuRSSIScreen.c
Steps to reproduce:
- go to RSSI screen
- signal strength is always 0 even in presence of strong carrier -> bug
VK7JS' fix:
in menuRSSIScreen.c
Code: Select all
@@ -79,7 +79,7 @@ menuStatus_t menuRSSIScreen(uiEvent_t *ev, bool isFirstRun)
// Returns S-Unit 0..9..10(S9+10dB)..15(S9+60)
static int32_t getSignalStrength(int dbm)
{
- if (dbm)
+ if (dbm < DBM_LEVELS[1])
{
return 0;
}