aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/sleep.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-05 10:59:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-05 10:59:11 +0000
commit5e64a9fec2e17d008b9488faa027d2beaa130a88 (patch)
tree3ab9255111b62d78d755bc51d9e650e63b07be25 /src/include/sleep.h
parent0778745ee12a4f14c001bd205e05728cc01e9633 (diff)
downloadChibiOS-5e64a9fec2e17d008b9488faa027d2beaa130a88.tar.gz
ChibiOS-5e64a9fec2e17d008b9488faa027d2beaa130a88.tar.bz2
ChibiOS-5e64a9fec2e17d008b9488faa027d2beaa130a88.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@215 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/sleep.h')
-rw-r--r--src/include/sleep.h4
1 files changed, 2 insertions, 2 deletions
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 */