commit ff91648f170df83c67ec64c5b1facd5d2a6c6748 parent 0f144e388243382e3d5a592d863f94b0bfaeb87c Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Sun, 12 Apr 2026 12:41:50 -0300 Wait for all incoming data before processing it Diffstat:
| M | src/main.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp @@ -392,7 +392,7 @@ void uart_rx_handler(void) uint8_t rx_data_type = queue_peek(&uart_queue_rx); - if ((rx_data_type == RX_DATA_STATUS_OK) && (queue_count(&uart_queue_rx) < 10)) + if ((rx_data_type == RX_DATA_STATUS_OK) && (queue_count(&uart_queue_rx) < 13)) { // Wait for additional data to arrive return;
