aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/include/chvt.h1
-rw-r--r--os/rt/src/chvt.c4
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);
}*/
}