added Going-to-sleep display message

This commit is contained in:
cyberman54 committed 2021-04-06 21:35:25 +02:00
1 parent d098d6ada3
commit 4d7d92900e
3 files changed
+17 -4

No files matched your search

+2 -1
View File
@@ -81,12 +81,13 @@ const uint8_t QR_SCALEFACTOR = (MY_DISPLAY_HEIGHT - 4) / 29; // 4px borderlines
extern uint8_t DisplayIsOn, displaybuf[];
extern hw_timer_t *displayIRQ;
extern uint8_t volatile channel; // wifi channel rotation counter
extern uint8_t volatile channel; // wifi channel rotation counter
void dp_setup(int contrast = 0);
void dp_refresh(bool nextPage = false);
void dp_init(bool verbose = false);
void dp_shutdown(void);
void dp_message(const char *msg, int line, bool invers);
void dp_drawPage(time_t t, bool nextpage);
void dp_println(int lines = 1);
void dp_printf(const char *format, ...);