@ -14,6 +14,9 @@ platform = espressif32
framework = arduino
board = lolin_d32_pro
;powersave
board_build.f_cpu = 160000000L
build_flags =
-DLOG_DEFAULT_LEVEL=ESP_LOG_VERBOSE
-DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE
@ -523,6 +523,8 @@ void setup()
ota.update();
}
WiFi.setSleep(true);
ESP_LOGD(TAG, "connecting to MQTT");
mqtt.begin();