Module: xenomai-forge
Branch: next
Commit: 2598b67cb1c5633c09bb0bf4570ede6897f1dc67
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=2598b67cb1c5633c09bb0bf4570ede6897f1dc67

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