Skip to content

Commit 8f21c54

Browse files
committed
core3
1 parent a771b28 commit 8f21c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WifiManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ void WifiManager::setupOTAUpload() {
226226
Serial.println(F("End"));
227227
});
228228
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
229+
#if defined(ARDUINO_ARCH_ESP32)
230+
esp_task_wdt_reset(); // TODO
231231
# endif
232232
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
233233
});

0 commit comments

Comments
 (0)