display.cpp: shorten tm buffer to save RAM

This commit is contained in:
cyberman54 2023-05-20 13:19:52 +02:00
parent 0c36b07bec
commit e5bc7d637e

View File

@ -142,7 +142,7 @@ void dp_init(bool verbose) {
void dp_refresh(bool nextPage) { void dp_refresh(bool nextPage) {
struct count_payload_t count; // libpax count storage struct count_payload_t count; // libpax count storage
static uint8_t DisplayPage = 0; static uint8_t DisplayPage = 0;
char timeState, strftime_buf[64]; char timeState, strftime_buf[45];
time_t now; time_t now;
struct tm timeinfo = {0}; struct tm timeinfo = {0};
#ifndef HAS_BUTTON #ifndef HAS_BUTTON