| 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 |
| 795 | setAPstate(false, AP_STATE_REQUIRED_POWER_CYCLE); |
| 796 | // If we have no soft power control, we'll now wait until the device is power-cycled |
| 797 | Serial.printf("Please power-cycle your AP/device\r\n"); |
| 798 | #ifdef HAS_RGB_LED |
| 799 | showColorPattern(CRGB::Aqua, CRGB::Aqua, CRGB::Red); |
| 800 | #endif |
| 801 | while (1) { |
| 802 | vTaskDelay(3000 / portTICK_PERIOD_MS); |
| 803 | } |
| 804 | #endif |
| 805 | } |
| 806 | void segmentedShowIp() { |
| 807 | IPAddress IP = wm.localIP(); |
| 808 | char temp[12]; |
no test coverage detected