diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-31 07:00:06 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-31 07:00:06 +0000 |
commit | 337db8c8b26a6ff706025432f104c91e71804119 (patch) | |
tree | 298723ec523e122bc29feef2473c5ca887f51c0c /os | |
parent | a484164f768cdea9b346b2af2c71376e8e260d21 (diff) | |
download | ChibiOS-337db8c8b26a6ff706025432f104c91e71804119.tar.gz ChibiOS-337db8c8b26a6ff706025432f104c91e71804119.tar.bz2 ChibiOS-337db8c8b26a6ff706025432f104c91e71804119.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7834 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/rt/include/chvt.h | 1 | ||||
-rw-r--r-- | 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);
}*/
}
|