Skip to content

Commit

Permalink
Merge branch 'bugfix/update_ctrl_init_config_macro' into 'master'
Browse files Browse the repository at this point in the history
Bugfix/update ctrl init config macro

Closes IDFGH-8441

See merge request espressif/esp-idf!20502
  • Loading branch information
wmy-espressif committed Oct 11, 2022
2 parents 6c5c595 + 54ee184 commit e0580d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/bt/include/esp32/include/esp_bt.h
Expand Up @@ -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

/**
Expand Down
2 changes: 1 addition & 1 deletion components/bt/include/esp32c3/include/esp_bt.h
Expand Up @@ -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

/**
Expand Down
2 changes: 1 addition & 1 deletion components/bt/include/esp32s3/include/esp_bt.h
Expand Up @@ -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

/**
Expand Down

0 comments on commit e0580d2

Please sign in to comment.