[SYS] Add failsafe mode (#1673)

A press at start during more than 30s after a previous reset will start the board in failsafe mode
This commit is contained in:
Florian authored and GitHub committed 2023-06-09 15:37:26 -05:00
1 parent b6df2006bf
commit f31ed28df7
3 files changed
+52 -19

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ extern void RN8209toMQTT();
#endif
#ifndef TimeOutWDTRN8209
# define TimeOutWDTRN8209 60 // time out if RN8209 task is stuck in seconds (should be more than TimeBetweenReadingRN8209/1000), the WDT will reset the ESP
# define TimeOutWDTRN8209 3 // time out if RN8209 task is stuck in seconds (should be more than TimeBetweenReadingRN8209/1000), the WDT will reset the ESP
#endif
#ifndef TimeBetweenPublishingRN8209
# define TimeBetweenPublishingRN8209 60000 // time between 2 RN8209 publishing in ms