mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 14:10:18 +00:00
Fixes for SDCC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@598 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3dc0fee9ba
commit
ce50defd4c
2 changed files with 7 additions and 8 deletions
|
|
@ -63,12 +63,12 @@
|
|||
|
||||
struct wdog_s
|
||||
{
|
||||
struct wdog_s *next; /* Support for singly linked lists. */
|
||||
wdentry_t func; /* Function to execute when delay expires */
|
||||
int lag; /* Timer associated with the delay */
|
||||
boolean active; /* TRUE if the watchdog is actively timing */
|
||||
ubyte argc; /* The number of parameters to pass */
|
||||
uint32 parm[CONFIG_MAX_WDOGPARMS];
|
||||
FAR struct wdog_s *next; /* Support for singly linked lists. */
|
||||
wdentry_t func; /* Function to execute when delay expires */
|
||||
int lag; /* Timer associated with the delay */
|
||||
boolean active; /* TRUE if the watchdog is actively timing */
|
||||
ubyte argc; /* The number of parameters to pass */
|
||||
uint32 parm[CONFIG_MAX_WDOGPARMS];
|
||||
};
|
||||
typedef struct wdog_s wdog_t;
|
||||
|
||||
|
|
@ -118,4 +118,3 @@ EXTERN void weak_function wd_timer(void);
|
|||
#endif
|
||||
|
||||
#endif /* __WD_INTERNAL_H */
|
||||
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ STATUS wd_start(WDOG_ID wdog, int delay, wdentry_t wdentry, int argc, ...)
|
|||
else
|
||||
{
|
||||
now = 0;
|
||||
prev = curr = (wdog_t*)g_wdactivelist.head;
|
||||
prev = curr = (FAR wdog_t*)g_wdactivelist.head;
|
||||
|
||||
/* Advance to positive time */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue