aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/mqx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtos/mqx.c')
-rw-r--r--src/rtos/mqx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/mqx.c b/src/rtos/mqx.c
index 9f59c6d..f6be35b 100644
--- a/src/rtos/mqx.c
+++ b/src/rtos/mqx.c
@@ -318,7 +318,7 @@ static int mqx_update_threads(
rtos->thread_count = task_queue_size;
rtos->current_thread = 0;
rtos->thread_details = calloc(rtos->thread_count, sizeof(struct thread_detail));
- if (NULL == rtos->thread_details)
+ if (!rtos->thread_details)
return ERROR_FAIL;
/* loop over each task and setup thread details,