mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
turn off LED after reboot check
This commit is contained in:
@@ -2565,7 +2565,7 @@ void MyESP::_bootupSequence() {
|
|||||||
|
|
||||||
if (isWifiConnected()) {
|
if (isWifiConnected()) {
|
||||||
_setSystemBootStatus(MYESP_BOOTSTATUS_BOOTED); // completed, reset flag
|
_setSystemBootStatus(MYESP_BOOTSTATUS_BOOTED); // completed, reset flag
|
||||||
digitalWrite(LED_BUILTIN, LOW); // turn off LED
|
digitalWrite(LED_BUILTIN, HIGH); // turn off LED
|
||||||
|
|
||||||
// write a log message if we're not using NTP, otherwise wait for the internet time to arrive
|
// write a log message if we're not using NTP, otherwise wait for the internet time to arrive
|
||||||
if (!_ntp_enabled) {
|
if (!_ntp_enabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user