aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/include/chvt.h9
-rw-r--r--os/rt/src/chvt.c20
2 files changed, 0 insertions, 29 deletions
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h
index c3457894f..b2118df07 100644
--- a/os/rt/include/chvt.h
+++ b/os/rt/include/chvt.h
@@ -481,10 +481,6 @@ static inline void chVTDoTickI(void) {
chVTGetSystemTimeX() + 1),
"out of time window");
-/* if (now > 21) {
- __BKPT(0);
- }*/
-
/* Timers processing loop.*/
while (true) {
systime_t now;
@@ -534,11 +530,6 @@ static inline void chVTDoTickI(void) {
if (delta < (systime_t)CH_CFG_ST_TIMEDELTA) {
delta = (systime_t)CH_CFG_ST_TIMEDELTA;
}
-
-// if (now + delta >= 23) {
-// __BKPT(0);
-// }
-
port_timer_set_alarm(now + delta);
chDbgAssert((chVTGetSystemTimeX() - ch.vtlist.vt_lasttime) < delta,
diff --git a/os/rt/src/chvt.c b/os/rt/src/chvt.c
index 88e5a3068..9f52687ee 100644
--- a/os/rt/src/chvt.c
+++ b/os/rt/src/chvt.c
@@ -99,11 +99,6 @@ void chVTDoSetI(virtual_timer_t *vtp, systime_t delay,
chDbgCheckClassI();
chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
-/* systime_t tm = chVTGetSystemTimeX();
- if (tm >= 23) {
- __BKPT(0);
- }*/
-
vtp->vt_par = par;
vtp->vt_func = vtfunc;
p = ch.vtlist.vt_next;
@@ -156,11 +151,6 @@ void chVTDoSetI(virtual_timer_t *vtp, systime_t delay,
value in the header must be restored.*/;
p->vt_delta -= delay;
ch.vtlist.vt_delta = (systime_t)-1;
-
-/* systime_t tmx = chVTGetSystemTimeX();
- if (tmx >= 23) {
- __BKPT(0);
- }*/
}
/**
@@ -180,11 +170,6 @@ void chVTDoResetI(virtual_timer_t *vtp) {
chDbgCheck(vtp != NULL);
chDbgAssert(vtp->vt_func != NULL, "timer not set or already triggered");
-/* systime_t tm = chVTGetSystemTimeX();
- if (tm >= 23) {
- __BKPT(0);
- }*/
-
/* Checking if the element to be removed was the first in the list.*/
#if CH_CFG_ST_TIMEDELTA > 0
first = ch.vtlist.vt_next;
@@ -242,11 +227,6 @@ void chVTDoResetI(virtual_timer_t *vtp) {
}
port_timer_set_alarm(ch.vtlist.vt_lasttime + nowdelta + delta);
-
-/* systime_t tmx = chVTGetSystemTimeX();
- if (tmx >= 23) {
- __BKPT(0);
- }*/
}
#endif /* CH_CFG_ST_TIMEDELTA > 0 */
}