mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-04 23:07:10 +00:00
sys/xtimer: _xtimer_now64(): fix irq_disable() return value type
This commit is contained in:
@@ -112,7 +112,7 @@ static inline uint64_t _xtimer_now64(void)
|
||||
uint32_t now, elapsed;
|
||||
|
||||
/* time sensitive since _xtimer_current_time is updated here */
|
||||
uint8_t state = irq_disable();
|
||||
unsigned state = irq_disable();
|
||||
now = _xtimer_lltimer_now();
|
||||
#if XTIMER_MASK
|
||||
elapsed = _xtimer_lltimer_mask(now - _xtimer_lltimer_mask((uint32_t)_xtimer_current_time));
|
||||
|
||||
Reference in New Issue
Block a user