Fix uart interrupt printing when the buffer fills up
It almost managed to block the print until there was space in the
buffer, except it ended up blocking out interrupts so it just
deadlocked.
Change-Id: Ifa3ae0cd6bef22cc8521c9bd866a30f62cfbc76d
diff --git a/motors/peripheral/uart.h b/motors/peripheral/uart.h
index cf79815..12b8523 100644
--- a/motors/peripheral/uart.h
+++ b/motors/peripheral/uart.h
@@ -56,7 +56,7 @@
void Initialize(int baud_rate);
- void Write(gsl::span<char> data, const DisableInterrupts &disable_interrupts);
+ void Write(gsl::span<char> data);
// Should be called as the body of the interrupt handler.
void HandleInterrupt(const DisableInterrupts &disable_interrupts) {