diff --git a/src/Wippersnapper.cpp b/src/Wippersnapper.cpp index 71c525a77..a675cb417 100644 --- a/src/Wippersnapper.cpp +++ b/src/Wippersnapper.cpp @@ -2504,9 +2504,9 @@ void Wippersnapper::runNetFSM() { void Wippersnapper::haltError(String error, ws_led_status_t ledStatusColor, uint8_t seconds_until_reboot) { #ifdef ARDUINO_ARCH_ESP8266 - uint8_t wdt_timeout_ms = 3200; + uint16_t wdt_timeout_ms = 3200; #else - uint8_t wdt_timeout_ms = 5000; + uint16_t wdt_timeout_ms = 5000; #endif int seconds_until_wdt_enable = seconds_until_reboot - (int)(wdt_timeout_ms / 1000);