Module: xenomai-forge
Branch: rtdm-api-waitqueues
Commit: 4a1891295ce69bc07bb2fb0ce8d6857a688a314e
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=4a1891295ce69bc07bb2fb0ce8d6857a688a314e

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Apr 18 18:06:17 2014 +0200

cobalt/timer: fix debug assertion

---

 include/cobalt/kernel/bheap.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/cobalt/kernel/bheap.h b/include/cobalt/kernel/bheap.h
index a97701c..dcd0247 100644
--- a/include/cobalt/kernel/bheap.h
+++ b/include/cobalt/kernel/bheap.h
@@ -64,7 +64,7 @@ static inline int bheap_ordered(bheap_t *heap)
 }
 
 #define BHEAP_CHECK(heap)                                              \
-       XENO_BUGON(TIMERS, ((heap)->sz == 0) || !bheap_ordered(heap))
+       XENO_BUGON(NUCLEUS, ((heap)->sz == 0) || !bheap_ordered(heap))
 
 #define bheap_gethead(heap)                            \
        ({                                              \


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to