diff --git a/src/include/sleep.h b/src/include/sleep.h index 808fbc560..51c4ac5d0 100644 --- a/src/include/sleep.h +++ b/src/include/sleep.h @@ -55,7 +55,7 @@ extern "C" { #define chThdSleepUntil(t) { \ chSysLock(); \ chSchGoSleepTimeoutS(PRSLEEP, \ - (systime_t)((t) - chSysGetTime())) \ + (systime_t)((t) - chSysGetTime())); \ chSysUnlock(); \ } #endif /* CH_USE_SYSTEMTIME */