aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/serial.c')
-rw-r--r--src/avr/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/avr/serial.c b/src/avr/serial.c
index 6bd88598..8c0da553 100644
--- a/src/avr/serial.c
+++ b/src/avr/serial.c
@@ -141,6 +141,7 @@ console_get_output(uint8_t len)
void
console_push_output(uint8_t len)
{
+ barrier();
writeb(&transmit_max, readb(&transmit_max) + len);
enable_tx_irq();
}