From 337db8c8b26a6ff706025432f104c91e71804119 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 31 Mar 2015 07:00:06 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7834 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chvt.h | 1 + os/rt/src/chvt.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 0bb127250..c3457894f 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -487,6 +487,7 @@ static inline void chVTDoTickI(void) { /* Timers processing loop.*/ while (true) { + systime_t now; vtfunc_t fn; /* The "last time" becomes this timer's expiration time.*/ diff --git a/os/rt/src/chvt.c b/os/rt/src/chvt.c index eae49bd3a..88e5a3068 100644 --- a/os/rt/src/chvt.c +++ b/os/rt/src/chvt.c @@ -243,8 +243,8 @@ void chVTDoResetI(virtual_timer_t *vtp) { port_timer_set_alarm(ch.vtlist.vt_lasttime + nowdelta + delta); - systime_t tmx = chVTGetSystemTimeX(); -/* if (tmx >= 23) { +/* systime_t tmx = chVTGetSystemTimeX(); + if (tmx >= 23) { __BKPT(0); }*/ } -- cgit v1.2.3