aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chsleep.c')
-rw-r--r--src/chsleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chsleep.c b/src/chsleep.c
index 9fedd0244..5814410f3 100644
--- a/src/chsleep.c
+++ b/src/chsleep.c
@@ -62,11 +62,11 @@ t_time chSysGetTime(void) {
* option is enabled in \p chconf.h.
*/
void chThdSleepUntil(t_time time) {
- VirtualTimer t;
+ VirtualTimer vt;
chSysLock();
- chVTSetI(&t, (t_time)(time - stime), (t_vtfunc)chSchReadyI, currp);
+ chVTSetI(&vt, (t_time)(time - stime), (t_vtfunc)chSchReadyI, currp);
chSchGoSleepI(PRSLEEP);
chSysUnlock();