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

Function notifySegmentedFlash

ESP32_AP-Flasher/src/serialap.cpp:782–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782void notifySegmentedFlash() {
783 sendAPSegmentedData(apInfo.mac, (String) "Fl ash", 0x0800, false, true);
784 vTaskDelay(2000 / portTICK_PERIOD_MS);
785#ifdef POWER_NO_SOFT_POWER
786 sendAPSegmentedData(apInfo.mac, (String) "If done", 0x0800, false, true);
787 vTaskDelay(2000 / portTICK_PERIOD_MS);
788 sendAPSegmentedData(apInfo.mac, (String) "RE boot", 0x0800, false, true);
789 vTaskDelay(1000 / portTICK_PERIOD_MS);
790#endif
791}
792void checkWaitPowerCycle() {
793 // check if we should wait for a power cycle. If we do, try to inform the user the best we can, and hang.
794#ifdef POWER_NO_SOFT_POWER

Callers 1

APTaskFunction · 0.85

Calls 1

sendAPSegmentedDataFunction · 0.85

Tested by

no test coverage detected