Skip to content

Commit

Permalink
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
Browse files Browse the repository at this point in the history
Corrects header names in string from "bt.h" to "esp_bt.h".
  • Loading branch information
eneidler authored and BetterJincheng committed Oct 9, 2022
1 parent 1308ff3 commit 54ee184
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 54ee184

Please sign in to comment.