We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94bf6e commit ba95b06Copy full SHA for ba95b06
uart.c
@@ -114,7 +114,8 @@ iram void uart_send(unsigned int uart, unsigned int byte)
114
if(!init_done)
115
return;
116
117
- queue_push(&uart_send_queue[uart], byte);
+ if(!queue_full(&uart_send_queue[uart]))
118
+ queue_push(&uart_send_queue[uart], byte);
119
}
120
121
iram void uart_send_string(unsigned int uart, const string_t *string)
0 commit comments