mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/uart_semaphore_pr1387' into 'master'
uart driver: Remove unnecessary xSemaphoreGive() See merge request !1739
This commit is contained in:
commit
30aacb79d5
@ -858,7 +858,6 @@ static int uart_tx_all(uart_port_t uart_num, const char* src, size_t size, bool
|
||||
offset += send_size;
|
||||
uart_enable_tx_intr(uart_num, 1, UART_EMPTY_THRESH_DEFAULT);
|
||||
}
|
||||
xSemaphoreGive(p_uart_obj[uart_num]->tx_mux);
|
||||
} else {
|
||||
while(size) {
|
||||
//semaphore for tx_fifo available
|
||||
|
Loading…
Reference in New Issue
Block a user