mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(nimble): Add hardware error event handling as normal event
This commit is contained in:
@@ -305,7 +305,8 @@ static int host_rcv_pkt(uint8_t *data, uint16_t len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (data[1] == BLE_HCI_EVCODE_HW_ERROR) {
|
if (data[1] == BLE_HCI_EVCODE_HW_ERROR) {
|
||||||
assert(0);
|
esp_rom_printf("HCI HW error from controller, hw_code=%d\n",
|
||||||
|
(totlen > BLE_HCI_EVENT_HDR_LEN) ? data[3] : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate LE Advertising Report Event from lo pool only */
|
/* Allocate LE Advertising Report Event from lo pool only */
|
||||||
|
|||||||
Reference in New Issue
Block a user