12345678910111213141516171819202122232425 |
- #ifndef __WATCHDOG_HAL_H__
- #define __WATCHDOG_HAL_H__
- #ifdef CONFIG_WATCHDOG
- extern void watchdog_start(int timeout_ms);
- extern void watchdog_stop(void);
- extern void watchdog_clear(void);
- #else
- #define watchdog_start(timeout_ms) do { } while (0)
- #define watchdog_stop() do { } while (0)
- #define watchdog_clear() do { } while (0)
- #endif
- #endif
|