mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Indents indents indents
This commit is contained in:
parent
69a08cb69d
commit
303006e1df
@ -1945,14 +1945,14 @@ static void drawNodeInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_
|
||||
}
|
||||
|
||||
// === 2. Signal and Hops (combined on one line, if available) ===
|
||||
// If both are present: "Signal: 97% [2hops]"
|
||||
// If both are present: "Sig: 97% [2hops]"
|
||||
// If only one: show only that one
|
||||
char signalHopsStr[32] = "";
|
||||
bool haveSignal = false;
|
||||
int percentSignal = clamp((int)((node->snr + 10) * 5), 0, 100);
|
||||
|
||||
// Use shorter label if screen is narrow (<= 128 px)
|
||||
const char *signalLabel = (display->getWidth() > 128) ? "Signal" : "Sig";
|
||||
// Always use "Sig" for the label
|
||||
const char *signalLabel = " Sig";
|
||||
|
||||
// --- Build the Signal/Hops line ---
|
||||
// If SNR looks reasonable, show signal
|
||||
|
Loading…
Reference in New Issue
Block a user