summaryrefslogtreecommitdiff
path: root/nuttx/sched/wd_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/wd_create.c')
-rw-r--r--nuttx/sched/wd_create.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/wd_create.c b/nuttx/sched/wd_create.c
index 296ff5c3d..a383de6a5 100644
--- a/nuttx/sched/wd_create.c
+++ b/nuttx/sched/wd_create.c
@@ -39,6 +39,7 @@
#include <nuttx/config.h>
+#include <stdbool.h>
#include <wdog.h>
#include <queue.h>
#include <nuttx/arch.h>
@@ -46,7 +47,7 @@
#include "wd_internal.h"
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/****************************************************************************
@@ -101,7 +102,7 @@ WDOG_ID wd_create (void)
if (wdog)
{
wdog->next = NULL;
- wdog->active = FALSE;
+ wdog->active = false;
}
return (WDOG_ID)wdog;
}