forked from espressif/esp-idf
add 'extern C' in header files
This commit is contained in:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user