mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fixed hci uart tx long data error
This commit is contained in:
parent
3a5373a5d0
commit
423c43f3e3
@ -154,7 +154,7 @@ void IRAM_ATTR hci_uart_start_tx(int port_num)
|
||||
data = hci_uart.tx_char(hci_uart.u_func_arg);
|
||||
if (data >= 0) {
|
||||
u8_data = data;
|
||||
uart_tx_chars(port_num, (char *)&u8_data, 1);
|
||||
uart_write_bytes(port_num, (char *)&u8_data, 1);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user