diff --git a/arch b/arch index d99e8ced38..52f459de14 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit d99e8ced38440ef61bebfd1507269b9072aba355 +Subproject commit 52f459de149c45a4cd7a7758b350167a400375f3 diff --git a/sched/semaphore/sem_tickwait.c b/sched/semaphore/sem_tickwait.c index 74de8f054d..57e36d1f0c 100644 --- a/sched/semaphore/sem_tickwait.c +++ b/sched/semaphore/sem_tickwait.c @@ -87,7 +87,7 @@ int sem_tickwait(FAR sem_t *sem, uint32_t start, uint32_t delay) uint32_t elapsed; int ret; - DEBUGASSERT(sem |= NULL && up_interrupt_context() == false && + DEBUGASSERT(sem != NULL && up_interrupt_context() == false && rtcb->waitdog == NULL); /* Create a watchdog. We will not actually need this watchdog