From 60d63e9970553058597fd78941a7fa0ecb4f374b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 4 Apr 2015 18:19:55 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7853 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chvt.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index ae26beacf..fe70aef03 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -494,17 +494,6 @@ static inline void chVTDoTickI(void) { vtp = ch.vtlist.vt_next; now = chVTGetSystemTimeX(); - /* The list is assumed to be non-empty because an tick interrupt just - occurred.*/ - chDbgAssert(&ch.vtlist != (virtual_timers_list_t *)vtp, - "timers list empty"); - - /* The timer time is assumed to be between "vt_lasttime" and "now".*/ - chDbgAssert(chVTIsTimeWithinX(ch.vtlist.vt_lasttime + vtp->vt_delta, - ch.vtlist.vt_lasttime, - now + 1), - "out of time window"); - /* All timers within the time window are triggered and removed, note that the loop is stopped by the timers header having "ch.vtlist.vt_delta == (systime_t)-1" which is greater than -- cgit v1.2.3