diff --git a/uart.cpp b/uart.cpp index 6290772d..1b18df0b 100644 --- a/uart.cpp +++ b/uart.cpp @@ -40,7 +40,7 @@ uart_input::uart_input() uart_input::~uart_input() { - std::array buffer = { 0 }; + std::array buffer = { 0 }; sp_blocking_write(port, (void*)buffer.data(), buffer.size(), 0); sp_drain(port);