fix copy&paste

This commit is contained in:
mverch67 2025-07-29 22:05:29 +02:00
parent 74d0472834
commit bc8e509a8c

View File

@ -193,10 +193,8 @@ void esp32Setup()
/// loop code specific to ESP32 targets
void esp32Loop()
{
+if (esp_task_wdt_reset() != ESP_OK)
{
+LOG_ERROR("Failed to reset task watchdog");
+
if (esp_task_wdt_reset() != ESP_OK) {
LOG_ERROR("Failed to reset task watchdog");
}
// for debug printing