diff options
Diffstat (limited to 'src/avr/serial.c')
-rw-r--r-- | src/avr/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/serial.c b/src/avr/serial.c index 33b42fc6..0a7a9508 100644 --- a/src/avr/serial.c +++ b/src/avr/serial.c @@ -89,7 +89,7 @@ console_pop_input(uint8_t len) , needcopy - copied); copied = needcopy; } - uint8_t flag = irq_save(); + irqstatus_t flag = irq_save(); if (rpos != readb(&receive_pos)) { // Raced with irq handler - retry irq_restore(flag); |