From 5f4fb927c1009974c08ec86fb550f16137e49eab Mon Sep 17 00:00:00 2001 From: Alan <60433566+alanesq@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:54:56 +0100 Subject: [PATCH] Update ESP32cam-demo.ino --- ESP32cam-demo.ino | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ESP32cam-demo.ino b/ESP32cam-demo.ino index 60014c1..56d0254 100644 --- a/ESP32cam-demo.ino +++ b/ESP32cam-demo.ino @@ -47,6 +47,8 @@ #include "esp_camera.h" // https://github.com/espressif/esp32-camera #include + +// WATCHDOG TIMER IS NOT WORKING WITH ESP32 3.0.0 (disabled in setup)- jun24 #include // watchdog timer - see: https://iotassistant.io/esp32/enable-hardware-watchdog-timer-esp32-arduino-ide/ @@ -387,10 +389,10 @@ void setup() { setupFlashPWM(); // configure PWM for the illumination LED -// watchdog timer (esp32) - if (serialDebug) Serial.println("Configuring watchdog timer"); - esp_task_wdt_init(WDT_TIMEOUT, true); //enable panic so ESP32 restarts - esp_task_wdt_add(NULL); //add current thread to WDT watch +// watchdog timer (esp32) - NOT WORKING WITH ESP32 3.0.0 (disabled in setup)- jun24 +// if (serialDebug) Serial.println("Configuring watchdog timer"); +// esp_task_wdt_init(WDT_TIMEOUT, true); //enable panic so ESP32 restarts +// esp_task_wdt_add(NULL); //add current thread to WDT watch // startup complete if (serialDebug) Serial.println("\nStarted...");