We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a369f commit f35ad4eCopy full SHA for f35ad4e
cores/arduino/Serial.cpp
@@ -65,8 +65,6 @@ void UART::WrapperCallback(uart_callback_args_t *p_args) {
65
}
66
case UART_EVENT_TX_DATA_EMPTY: // This is called when the buffer is empty
67
{
68
- //uint8_t to_enqueue = uart_ptr->txBuffer.available() < uart_ptr->uart_ctrl.fifo_depth ? uart_ptr->txBuffer.available() : uart_ptr->uart_ctrl.fifo_depth;
69
- //while (to_enqueue) {
70
uart_ptr->tx_empty = true;
71
break;
72
0 commit comments