Changed watchdog API by adding a start function, and renaming the restart function to periodic to make it clear that this should be called periodically
This commit is contained in:
parent
5e7cbff22a
commit
e1affe5e72
|
@ -28,13 +28,14 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: watchdog.h,v 1.1 2006/06/17 22:41:17 adamdunkels Exp $
|
||||
* @(#)$Id: watchdog.h,v 1.2 2007/11/17 10:15:50 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __WATCHDOG_H__
|
||||
#define __WATCHDOG_H__
|
||||
|
||||
void watchdog_init(void);
|
||||
void watchdog_restart(void);
|
||||
void watchdog_start(void);
|
||||
void watchdog_periodic(void);
|
||||
void watchdog_stop(void);
|
||||
|
||||
#endif /* __WATCHDOG_H__ */
|
||||
|
|
Loading…
Reference in a new issue