diff options
Diffstat (limited to 'main/local_screens.c')
| -rw-r--r-- | main/local_screens.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/local_screens.c b/main/local_screens.c index 4b639ef..7459d9a 100644 --- a/main/local_screens.c +++ b/main/local_screens.c @@ -297,10 +297,7 @@ esp_err_t local_screens_show_info(void) char heap_str[12]; fmt_bytes(heap_str, sizeof(heap_str), free_heap); char psram_str[12]; fmt_bytes(psram_str, sizeof(psram_str), free_psram); - const char *state_str = - (state == VIEWPORT_STATE_AWAKE) ? "awake" - : (state == VIEWPORT_STATE_ASLEEP) ? "asleep" - : "unconfigured"; + const char *state_str = (state == VIEWPORT_STATE_AWAKE) ? "awake" : "asleep"; // Label width is fixed at 8 chars (trailing spaces pad it). Values are // left-aligned at column 8. Auto-scaler then picks a font scale to fit. |
