display.cpp: shorten tm buffer to save RAM
This commit is contained in:
parent
0c36b07bec
commit
e5bc7d637e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user