| 780 | } |
| 781 | |
| 782 | void 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 | } |
| 792 | void 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 |
no test coverage detected