HAL support for 8s watchdog
This commit is contained in:
		@@ -27,6 +27,8 @@
 | 
			
		||||
 | 
			
		||||
#include "watchdog.h"
 | 
			
		||||
 | 
			
		||||
#define WDT_TIMEOUT_US TERN(WATCHDOG_DURATION_8S, 8000000, 4000000) // 4 or 8 second timeout
 | 
			
		||||
 | 
			
		||||
void watchdog_init() {}
 | 
			
		||||
void HAL_watchdog_refresh() {}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,5 @@
 | 
			
		||||
 */
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define WDT_TIMEOUT   4000000 // 4 second timeout
 | 
			
		||||
 | 
			
		||||
void watchdog_init();
 | 
			
		||||
void HAL_watchdog_refresh();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user