From 1716d125478b7669cddaf3a31c7d68363ca69c0d Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Tue, 30 Oct 2018 20:01:13 +0800 Subject: [PATCH] Component/bt: fix ble cannot send or receive packet sometimes --- components/bt/bluedroid/hci/hci_hal_h4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/hci/hci_hal_h4.c b/components/bt/bluedroid/hci/hci_hal_h4.c index 8ecaa6dfa8..9df65fce6b 100644 --- a/components/bt/bluedroid/hci/hci_hal_h4.c +++ b/components/bt/bluedroid/hci/hci_hal_h4.c @@ -332,7 +332,7 @@ static int host_recv_pkt_cb(uint8_t *data, uint16_t len) pkt->layer_specific = 0; memcpy(pkt->data, data, len); fixed_queue_enqueue(hci_hal_env.rx_q, pkt); - hci_hal_h4_task_post(100 / portTICK_PERIOD_MS); + hci_hal_h4_task_post(0); BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len);