From 739e6ff1afe6b5b80cc28afa19aa4b1b42282765 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Wed, 15 Jul 2026 19:41:41 -0500 Subject: screens: raise INFO_MAX_LINES 16 -> 20 (temp line was silently dropped) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The info overlay already had exactly 16 ADD lines; the temp line added in f59cea3 was the 17th, and the ADD macro's bounds guard drops overflow lines without any diagnostic — so temp never rendered. Give the cap headroom and document the silent-drop behavior at the definition. --- main/local_screens.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/local_screens.c b/main/local_screens.c index 751ac91..1277d00 100644 --- a/main/local_screens.c +++ b/main/local_screens.c @@ -74,7 +74,9 @@ static const uint8_t FONT[95][8] = { #define FG 0xFFFF // white #define BG 0x0000 // black -#define INFO_MAX_LINES 16 +#define INFO_MAX_LINES 20 // headroom over the current 17 ADDs — the ADD + // macro SILENTLY drops lines past this cap + // (bit us when temp made it exactly 17) #define INFO_LINE_BYTES 80 // generous: viewport_name is 64 chars max static uint16_t *s_fb; // PSRAM scratch at PANEL_W × PANEL_H -- cgit v1.2.3