diff --git a/sched/semaphore/sem_trywait.c b/sched/semaphore/sem_trywait.c index f7f6303a16..ed8ceab707 100644 --- a/sched/semaphore/sem_trywait.c +++ b/sched/semaphore/sem_trywait.c @@ -102,7 +102,7 @@ int sem_trywait(FAR sem_t *sem) /* This API should not be called from interrupt handlers */ - DEBUGASSERT(up_interrupt_context() == false) + DEBUGASSERT(up_interrupt_context() == false); /* Assume any errors reported are due to invalid arguments. */