From e5bc7d637e50fb24ba7d0d17d2e902253a66fb6b Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sat, 20 May 2023 13:19:52 +0200 Subject: [PATCH] display.cpp: shorten tm buffer to save RAM --- src/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.cpp b/src/display.cpp index d14369e1..2d661acc 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -142,7 +142,7 @@ void dp_init(bool verbose) { void dp_refresh(bool nextPage) { struct count_payload_t count; // libpax count storage static uint8_t DisplayPage = 0; - char timeState, strftime_buf[64]; + char timeState, strftime_buf[45]; time_t now; struct tm timeinfo = {0}; #ifndef HAS_BUTTON