diff options
-rw-r--r-- | os/rt/include/chvt.h | 2 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 93c665f63..d44d0b91b 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -285,7 +285,7 @@ static inline bool chVTIsTimeWithinX(systime_t time, systime_t start,
systime_t end) {
- return (bool)((time - start) < (end - start));
+ return (bool)((systime_t)(time - start) < (systime_t)(end - start));
}
/**
diff --git a/readme.txt b/readme.txt index 6f16c60db..83723d0c1 100644 --- a/readme.txt +++ b/readme.txt @@ -119,6 +119,8 @@ - HAL: Fixed STM32F3xx HAL checking for non-existing macros (bug #648)
(backported to 3.0.3 and 2.6.10).
- HAL: Fixed error in STM32F030 EXT driver (bug #647)(backported to 3.0.3).
+- RT: Fixed problem with chVTIsTimeWithinX() (bug #646)(backported to
+ 3.0.3 and 2.6.10).
- VAR: Fixed _sbrk_r with incr == 0 should be valid (bug #645)(backported to
3.0.3 and 2.6.10).
- RT: Fixed issues in CMSIS RTOS interface (bug #644)(backported to 3.0.3).
|