We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a771b28 commit 8f21c54Copy full SHA for 8f21c54
src/WifiManager.cpp
@@ -226,8 +226,8 @@ void WifiManager::setupOTAUpload() {
226
Serial.println(F("End"));
227
});
228
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
229
-#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
230
- esp_task_wdt_reset(); // TODO
+#if defined(ARDUINO_ARCH_ESP32)
+ esp_task_wdt_reset(); // TODO
231
# endif
232
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
233
0 commit comments