mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
watchdog: Support auto monitor keep alive from timer lowerhalf
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
47d2859f85
commit
1eefec4db3
@@ -224,8 +224,15 @@ extern "C"
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_WATCHDOG_AUTOMONITOR_BY_TIMER)
|
||||
struct timer_lowerhalf_s;
|
||||
FAR void *watchdog_register(FAR const char *path,
|
||||
FAR struct watchdog_lowerhalf_s *lower,
|
||||
FAR struct timer_lowerhalf_s *timer);
|
||||
#else
|
||||
FAR void *watchdog_register(FAR const char *path,
|
||||
FAR struct watchdog_lowerhalf_s *lower);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: watchdog_unregister
|
||||
|
||||
Reference in New Issue
Block a user