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:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user