Skip to content

Commit

Permalink
Update Watchdog Timeout to 32s
Browse files Browse the repository at this point in the history
  • Loading branch information
remuslazar committed Aug 13, 2023
1 parent e5b8d7c commit ce065bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firmware/include/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
#endif //FIRMWARE_SETTINGS_H

// Watchdog Settings
#define WATCHDOG_SETUP WDT_HARDCYCLE16S
// use a 32 seconds (soft) watchdog timeout
// we do need this quite log timeout because the MQTT reconnects take sometime about 15 seconds to complete
#define WATCHDOG_SETUP WDT_SOFTCYCLE32S

// MQTT buffer size in bytes
#define MQTT_BUF_SIZE 256

0 comments on commit ce065bd

Please sign in to comment.