HAL support for 8s watchdog

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-04-29 08:45:05 -05:00
1 parent bbfac75f19
commit 67d58ccb98
14 files changed
+82 -73

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ void watchdogSetup() {
#if ENABLED(USE_WATCHDOG)
// 4 seconds timeout
uint32_t timeout = 4000;
uint32_t timeout = TERN(WATCHDOG_DURATION_8S, 8000, 4000);
// Calculate timeout value in WDT counter ticks: This assumes
// the slow clock is running at 32.768 kHz watchdog