mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Component/bt: fix ble cannot send or receive packet sometimes
This commit is contained in:
parent
a4357aed91
commit
1716d12547
@ -332,7 +332,7 @@ static int host_recv_pkt_cb(uint8_t *data, uint16_t len)
|
|||||||
pkt->layer_specific = 0;
|
pkt->layer_specific = 0;
|
||||||
memcpy(pkt->data, data, len);
|
memcpy(pkt->data, data, len);
|
||||||
fixed_queue_enqueue(hci_hal_env.rx_q, pkt);
|
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);
|
BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user