From c32291bdc94f1a9b627b73f5fee7cac81a1bf164 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 1 Feb 2017 12:27:05 +0100 Subject: [PATCH] wiced: don't printf from worker thread --- port/wiced/hci_transport_h4_wiced.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/port/wiced/hci_transport_h4_wiced.c b/port/wiced/hci_transport_h4_wiced.c index ee2890fc7..667585776 100644 --- a/port/wiced/hci_transport_h4_wiced.c +++ b/port/wiced/hci_transport_h4_wiced.c @@ -178,14 +178,8 @@ static wiced_result_t h4_rx_worker_receive_packet(void * arg){ // executed on tx worker thread static wiced_result_t h4_tx_worker_send_packet(void * arg){ #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){ - printf("."); wiced_rtos_delay_milliseconds(100); - cts_was_raised = 1; - } - if (cts_was_raised){ - printf("\n"); } #endif // blocking send