mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
sys/xtimer: _xtimer_now64(): fix irq_disable() return value type
This commit is contained in:
parent
eb74811000
commit
885bb84ce5
@ -112,7 +112,7 @@ static inline uint64_t _xtimer_now64(void)
|
|||||||
uint32_t now, elapsed;
|
uint32_t now, elapsed;
|
||||||
|
|
||||||
/* time sensitive since _xtimer_current_time is updated here */
|
/* time sensitive since _xtimer_current_time is updated here */
|
||||||
uint8_t state = irq_disable();
|
unsigned state = irq_disable();
|
||||||
now = _xtimer_lltimer_now();
|
now = _xtimer_lltimer_now();
|
||||||
#if XTIMER_MASK
|
#if XTIMER_MASK
|
||||||
elapsed = _xtimer_lltimer_mask(now - _xtimer_lltimer_mask((uint32_t)_xtimer_current_time));
|
elapsed = _xtimer_lltimer_mask(now - _xtimer_lltimer_mask((uint32_t)_xtimer_current_time));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user