mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-16 06:57:57 +00:00
nimble/ll: Fix include guards for HCI_VS
This commit is contained in:
@@ -43,7 +43,7 @@ extern const uint8_t g_ble_ll_supp_cmds[BLE_LL_SUPP_CMD_LEN];
|
||||
|
||||
typedef void (*ble_ll_hci_post_cmd_complete_cb)(void);
|
||||
|
||||
#if MYNEWT_VAL(BLE_HCI_VS)
|
||||
#if MYNEWT_VAL(BLE_LL_HCI_VS)
|
||||
typedef int (* ble_ll_hci_vs_cb_t)(uint16_t ocf,
|
||||
const uint8_t *cmdbuf, uint8_t cmdlen,
|
||||
uint8_t *rspbuf, uint8_t *rsplen);
|
||||
@@ -82,7 +82,7 @@ bool ble_ll_hci_adv_mode_ext(void);
|
||||
/* Get TX power compensation rounded to integer dB */
|
||||
int8_t ble_ll_get_tx_pwr_compensation(void);
|
||||
|
||||
#if MYNEWT_VAL(BLE_HCI_VS)
|
||||
#if MYNEWT_VAL(BLE_LL_HCI_VS)
|
||||
void ble_ll_hci_vs_register(struct ble_ll_hci_vs_cmd *cmds, uint32_t num_cmds);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1732,7 +1732,7 @@ ble_ll_init(void)
|
||||
ble_ll_dtm_init();
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(BLE_HCI_VS)
|
||||
#if MYNEWT_VAL(BLE_LL_HCI_VS)
|
||||
ble_ll_hci_vs_init();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(BLE_HCI_VS)
|
||||
#if MYNEWT_VAL(BLE_LL_HCI_VS)
|
||||
void ble_ll_hci_vs_init(void);
|
||||
int ble_ll_hci_vs_cmd_proc(const uint8_t *cmdbuf, uint8_t cmdlen, uint16_t ocf,
|
||||
uint8_t *rspbuf, uint8_t *rsplen);
|
||||
|
||||
Reference in New Issue
Block a user