From ffcabde96db96acad3ece044ab52d8a6a78b0163 Mon Sep 17 00:00:00 2001 From: Evan Neidler Date: Mon, 3 Oct 2022 14:01:27 -0400 Subject: [PATCH] Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT(). Corrects header names in string from "bt.h" to "esp_bt.h". --- components/bt/include/esp32/include/esp_bt.h | 2 +- components/bt/include/esp32c3/include/esp_bt.h | 2 +- components/bt/include/esp32s3/include/esp_bt.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/bt/include/esp32/include/esp_bt.h b/components/bt/include/esp32/include/esp_bt.h index f74c3df7bfd1..f78a5a88d6fd 100644 --- a/components/bt/include/esp32/include/esp_bt.h +++ b/components/bt/include/esp32/include/esp_bt.h @@ -186,7 +186,7 @@ the adv packet will be discarded until the memory is restored. */ } #else -#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use bt.h"); +#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use esp_bt.h"); #endif /** diff --git a/components/bt/include/esp32c3/include/esp_bt.h b/components/bt/include/esp32c3/include/esp_bt.h index 2fd4c24885f2..be9de3d88bbd 100644 --- a/components/bt/include/esp32c3/include/esp_bt.h +++ b/components/bt/include/esp32c3/include/esp_bt.h @@ -184,7 +184,7 @@ typedef void (* esp_bt_hci_tl_callback_t) (void *arg, uint8_t status); } #else -#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use bt.h"); +#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use esp_bt.h"); #endif /** diff --git a/components/bt/include/esp32s3/include/esp_bt.h b/components/bt/include/esp32s3/include/esp_bt.h index d0e1a434bfff..e72e5111b776 100644 --- a/components/bt/include/esp32s3/include/esp_bt.h +++ b/components/bt/include/esp32s3/include/esp_bt.h @@ -183,7 +183,7 @@ typedef void (* esp_bt_hci_tl_callback_t) (void *arg, uint8_t status); } #else -#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use bt.h"); +#define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use esp_bt.h"); #endif /**