mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
wiced: don't printf from worker thread
This commit is contained in:
parent
559961d085
commit
c32291bdc9
@ -178,14 +178,8 @@ static wiced_result_t h4_rx_worker_receive_packet(void * arg){
|
|||||||
// executed on tx worker thread
|
// executed on tx worker thread
|
||||||
static wiced_result_t h4_tx_worker_send_packet(void * arg){
|
static wiced_result_t h4_tx_worker_send_packet(void * arg){
|
||||||
#ifdef WICED_BT_UART_MANUAL_CTS_RTS
|
#ifdef WICED_BT_UART_MANUAL_CTS_RTS
|
||||||
int cts_was_raised = 0;
|
|
||||||
while (platform_gpio_input_get(wiced_bt_uart_pins[WICED_BT_PIN_UART_CTS]) == WICED_TRUE){
|
while (platform_gpio_input_get(wiced_bt_uart_pins[WICED_BT_PIN_UART_CTS]) == WICED_TRUE){
|
||||||
printf(".");
|
|
||||||
wiced_rtos_delay_milliseconds(100);
|
wiced_rtos_delay_milliseconds(100);
|
||||||
cts_was_raised = 1;
|
|
||||||
}
|
|
||||||
if (cts_was_raised){
|
|
||||||
printf("\n");
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// blocking send
|
// blocking send
|
||||||
|
Loading…
x
Reference in New Issue
Block a user