From 89c81f6c08ddd37cd2126e33ce35c4d66dab373e Mon Sep 17 00:00:00 2001 From: Sebastien Lorquet Date: Mon, 3 Aug 2015 09:14:15 -0600 Subject: [PATCH] FIX typo in DEBUASSERTion --- arch | 2 +- sched/semaphore/sem_tickwait.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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