Explorar o código

Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'

Bugfix/update ctrl init config macro

Closes IDFGH-8441

See merge request espressif/esp-idf!20502
Wang Meng Yang %!s(int64=3) %!d(string=hai) anos
pai
achega
e0580d2669

+ 1 - 1
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
 
 /**

+ 1 - 1
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
 
 /**

+ 1 - 1
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
 
 /**