aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/nuttx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtos/nuttx.c')
-rw-r--r--src/rtos/nuttx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/nuttx.c b/src/rtos/nuttx.c
index c525471..00fec7f 100644
--- a/src/rtos/nuttx.c
+++ b/src/rtos/nuttx.c
@@ -259,7 +259,7 @@ static int nuttx_update_threads(struct rtos *rtos)
uint32_t i;
uint8_t state;
- if (rtos->symbols == NULL) {
+ if (!rtos->symbols) {
LOG_ERROR("No symbols for NuttX");
return -3;
}