aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chschd.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-12 12:25:48 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-12 12:25:48 +0000
commitd8b32d7f63c8453135249734f8b542856947e83a (patch)
tree0f9ba68c14d6260f9c67c91c7d2cbd0ce5453230 /os/rt/include/chschd.h
parent286deccd1280b0d66ccc6d9b2617719582607f0d (diff)
downloadChibiOS-d8b32d7f63c8453135249734f8b542856947e83a.tar.gz
ChibiOS-d8b32d7f63c8453135249734f8b542856947e83a.tar.bz2
ChibiOS-d8b32d7f63c8453135249734f8b542856947e83a.zip
Rework of virtual timers in RT5, preparation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rt5_dev_point1@10813 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chschd.h')
-rw-r--r--os/rt/include/chschd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h
index 7f25279a9..9d3b5dd4e 100644
--- a/os/rt/include/chschd.h
+++ b/os/rt/include/chschd.h
@@ -325,7 +325,7 @@ struct ch_thread {
struct ch_virtual_timer {
virtual_timer_t *next; /**< @brief Next timer in the list. */
virtual_timer_t *prev; /**< @brief Previous timer in the list. */
- systime_t delta; /**< @brief Time delta before timeout. */
+ sysinterval_t delta; /**< @brief Time delta before timeout. */
vtfunc_t func; /**< @brief Timer callback function
pointer. */
void *par; /**< @brief Timer callback function
@@ -343,7 +343,7 @@ struct ch_virtual_timers_list {
list. */
virtual_timer_t *prev; /**< @brief Last timer in the delta
list. */
- systime_t delta; /**< @brief Must be initialized to -1. */
+ sysinterval_t delta; /**< @brief Must be initialized to -1. */
#if (CH_CFG_ST_TIMEDELTA == 0) || defined(__DOXYGEN__)
volatile systime_t systime; /**< @brief System Time counter. */
#endif