SNR is now a float, fix the screen display

This commit is contained in:
geeksville
2020-05-01 12:31:36 -07:00
parent 50213d8323
commit e084699704
3 changed files with 3 additions and 1 deletions

View File

@@ -315,7 +315,7 @@ static void drawNodeInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_
const char *username = node->has_user ? node->user.long_name : "Unknown Name";
static char signalStr[20];
snprintf(signalStr, sizeof(signalStr), "Signal: %ld", node->snr);
snprintf(signalStr, sizeof(signalStr), "Signal: %.0f", node->snr);
uint32_t agoSecs = sinceLastSeen(node);
static char lastStr[20];