diff options
Diffstat (limited to 'os/rt/include/chvt.h')
-rw-r--r-- | os/rt/include/chvt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 8af8e7144..868eb77e8 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -238,7 +238,7 @@ static inline bool chVTGetTimersStateI(sysinterval_t *timep) { *
* @iclass
*/
-static inline bool chVTIsArmedI(virtual_timer_t *vtp) {
+static inline bool chVTIsArmedI(const virtual_timer_t *vtp) {
chDbgCheckClassI();
@@ -255,7 +255,7 @@ static inline bool chVTIsArmedI(virtual_timer_t *vtp) { *
* @api
*/
-static inline bool chVTIsArmed(virtual_timer_t *vtp) {
+static inline bool chVTIsArmed(const virtual_timer_t *vtp) {
bool b;
chSysLock();
|