ble_mesh: example: fix the structure init order to meet C++ requirements

Closes https://github.com/espressif/esp-idf/issues/8110
This commit is contained in:
InfiniteYuan
2022-08-16 17:50:16 +08:00
committed by YuanMingFu
parent 8191f319a3
commit 728ff8dc99
35 changed files with 480 additions and 294 deletions
@@ -7,10 +7,18 @@
#ifndef _BLE_MESH_EXAMPLE_INIT_H_
#define _BLE_MESH_EXAMPLE_INIT_H_
#ifdef __cplusplus
extern "C" {
#endif /**< __cplusplus */
#include "esp_err.h"
void ble_mesh_get_dev_uuid(uint8_t *dev_uuid);
esp_err_t bluetooth_init(void);
#ifdef __cplusplus
}
#endif /**< __cplusplus */
#endif /* _BLE_MESH_EXAMPLE_INIT_H_ */