From 5e64a9fec2e17d008b9488faa027d2beaa130a88 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 5 Mar 2008 10:59:11 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@215 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/sleep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/sleep.h') diff --git a/src/include/sleep.h b/src/include/sleep.h index 022b7be23..808fbc560 100644 --- a/src/include/sleep.h +++ b/src/include/sleep.h @@ -29,7 +29,7 @@ extern "C" { #endif #ifdef CH_USE_SLEEP - void chThdSleep(t_time time); + void chThdSleep(systime_t time); #endif /* CH_USE_SLEEP */ #ifdef __cplusplus } @@ -55,7 +55,7 @@ extern "C" { #define chThdSleepUntil(t) { \ chSysLock(); \ chSchGoSleepTimeoutS(PRSLEEP, \ - (t_time)((t) - chSysGetTime())) \ + (systime_t)((t) - chSysGetTime())) \ chSysUnlock(); \ } #endif /* CH_USE_SYSTEMTIME */ -- cgit v1.2.3