File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2502,11 +2502,11 @@ void Wippersnapper::runNetFSM() {
25022502*/
25032503/* *************************************************************************/
25042504void Wippersnapper::haltError (String error, ws_led_status_t ledStatusColor,
2505- uint8_t seconds_until_reboot) {
2505+ int seconds_until_reboot) {
25062506#ifdef ARDUINO_ARCH_ESP8266
2507- uint8_t wdt_timeout_ms = 3200 ;
2507+ int wdt_timeout_ms = 3200 ;
25082508#else
2509- uint8_t wdt_timeout_ms = 5000 ;
2509+ int wdt_timeout_ms = 5000 ;
25102510#endif
25112511 int seconds_until_wdt_enable =
25122512 seconds_until_reboot - (int )(wdt_timeout_ms / 1000 );
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class Wippersnapper {
312312 // Error handling helpers
313313 void haltError (String error,
314314 ws_led_status_t ledStatusColor = WS_LED_STATUS_ERROR_RUNTIME,
315- uint8_t seconds_until_reboot = 25 );
315+ int seconds_until_reboot = 25 );
316316 void errorWriteHang (String error);
317317
318318 // MQTT topic callbacks //
You can’t perform that action at this time.
0 commit comments