File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2502,11 +2502,11 @@ void Wippersnapper::runNetFSM() {
2502
2502
*/
2503
2503
/* *************************************************************************/
2504
2504
void Wippersnapper::haltError (String error, ws_led_status_t ledStatusColor,
2505
- uint8_t seconds_until_reboot) {
2505
+ int seconds_until_reboot) {
2506
2506
#ifdef ARDUINO_ARCH_ESP8266
2507
- uint16_t wdt_timeout_ms = 3200 ;
2507
+ int wdt_timeout_ms = 3200 ;
2508
2508
#else
2509
- uint16_t wdt_timeout_ms = 5000 ;
2509
+ int wdt_timeout_ms = 5000 ;
2510
2510
#endif
2511
2511
int seconds_until_wdt_enable =
2512
2512
seconds_until_reboot - (int )(wdt_timeout_ms / 1000 );
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class Wippersnapper {
312
312
// Error handling helpers
313
313
void haltError (String error,
314
314
ws_led_status_t ledStatusColor = WS_LED_STATUS_ERROR_RUNTIME,
315
- uint8_t seconds_until_reboot = 25 );
315
+ int seconds_until_reboot = 25 );
316
316
void errorWriteHang (String error);
317
317
318
318
// MQTT topic callbacks //
You can’t perform that action at this time.
0 commit comments