diff options
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c index bce0b5788..55cfdf445 100644 --- a/test/test.c +++ b/test/test.c @@ -278,9 +278,7 @@ void test_start_timer(unsigned ms) { systime_t duration = MS2ST(ms);
test_timer_done = FALSE;
- chSysLock();
- chVTSetI(&vt, duration, tmr, NULL);
- chSysUnlock();
+ chVTSet(&vt, duration, tmr, NULL);
}
/*
|