diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-12 12:25:48 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-12 12:25:48 +0000 |
commit | d8b32d7f63c8453135249734f8b542856947e83a (patch) | |
tree | 0f9ba68c14d6260f9c67c91c7d2cbd0ce5453230 /os/rt/include/chtime.h | |
parent | 286deccd1280b0d66ccc6d9b2617719582607f0d (diff) | |
download | ChibiOS-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/chtime.h')
-rw-r--r-- | os/rt/include/chtime.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/rt/include/chtime.h b/os/rt/include/chtime.h index 5a09735eb..046cde224 100644 --- a/os/rt/include/chtime.h +++ b/os/rt/include/chtime.h @@ -481,8 +481,7 @@ static inline systime_t chTimeAddX(systime_t systime, *
* @xclass
*/
-static inline sysinterval_t chTimeSubtractX(systime_t start,
- systime_t end) {
+static inline sysinterval_t chTimeDiffX(systime_t start, systime_t end) {
return (sysinterval_t)(end - start);
}
|