| 45 | // https://csvjson.com/json_beautifier |
| 46 | |
| 47 | bool needRedraw(uint8_t contentMode, uint8_t wakeupReason) { |
| 48 | // contentmode 26, timestamp |
| 49 | if ((wakeupReason == WAKEUP_REASON_BUTTON1 || wakeupReason == WAKEUP_REASON_BUTTON2 || wakeupReason == WAKEUP_REASON_BUTTON3) && contentMode == 26) return true; |
| 50 | return false; |
| 51 | } |
| 52 | |
| 53 | void contentRunner() { |
| 54 | if (config.runStatus == RUNSTATUS_STOP) return; |