MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / needRedraw

Function needRedraw

ESP32_AP-Flasher/src/contentmanager.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45// https://csvjson.com/json_beautifier
46
47bool 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
53void contentRunner() {
54 if (config.runStatus == RUNSTATUS_STOP) return;

Callers 1

contentRunnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected