mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-05 21:04:49 +00:00
nimble/ll: Fix build with BLE_LL_HCI_LLCP_TRACE enabled
This was not updated after HCI VS event sending cleanup.
This commit is contained in:
@@ -643,16 +643,16 @@ void
|
||||
ble_ll_hci_ev_send_vs_llcp_trace(uint8_t type, uint16_t handle, uint16_t count,
|
||||
void *pdu, size_t length)
|
||||
{
|
||||
struct ble_hci_ev_vs_debug *ev;
|
||||
struct ble_hci_ev_vs *ev;
|
||||
struct ble_hci_ev *hci_ev;
|
||||
|
||||
hci_ev = ble_transport_alloc_evt(1);
|
||||
if (hci_ev) {
|
||||
hci_ev->opcode = BLE_HCI_EVCODE_VS_DEBUG;
|
||||
hci_ev->opcode = BLE_HCI_EVCODE_VS;
|
||||
hci_ev->length = sizeof(*ev) + 8 + length;
|
||||
ev = (void *) hci_ev->data;
|
||||
|
||||
ev->id = 0x17;
|
||||
ev->id = BLE_HCI_VS_SUBEV_ID_LLCP_TRACE;
|
||||
ev->data[0] = type;
|
||||
put_le16(&ev->data[1], handle);
|
||||
put_le16(&ev->data[3], count);
|
||||
|
||||
@@ -1611,6 +1611,8 @@ struct ble_hci_ev_vs_css_slot_changed {
|
||||
uint16_t slot_idx;
|
||||
};
|
||||
|
||||
#define BLE_HCI_VS_SUBEV_ID_LLCP_TRACE (0x17)
|
||||
|
||||
/* LE sub-event codes */
|
||||
#define BLE_HCI_LE_SUBEV_CONN_COMPLETE (0x01)
|
||||
struct ble_hci_ev_le_subev_conn_complete {
|
||||
|
||||
Reference in New Issue
Block a user