diff --git a/sched/semaphore/sem_post.c b/sched/semaphore/sem_post.c index a550c0aab4..f20cb68c77 100644 --- a/sched/semaphore/sem_post.c +++ b/sched/semaphore/sem_post.c @@ -169,7 +169,7 @@ int nxsem_post(FAR sem_t *sem) { /* This should not happen. */ - ASSERT(false); + DEBUGPANIC(); } }