mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
add 'extern C' in header files
This commit is contained in:
parent
7b79e4c9ae
commit
6bb5a93221
@ -18,6 +18,11 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef void (* bt_app_startup_cb_t)(void *param);
|
||||
|
||||
esp_err_t esp_bt_startup(bt_app_startup_cb_t cb, void *ctx);
|
||||
@ -54,4 +59,8 @@ void API_vhci_host_send_packet(uint8_t *data, uint16_t len);
|
||||
*/
|
||||
void API_vhci_host_register_callback(const vhci_host_callback_t *callback);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BT_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user