ble_mesh: Move TAG definition to each example
Move the TAG definition of each example to the corresponding source file (previously it is defined in the common example intialization header file), which can avoid the redefinition of TAG in some situations.
This commit is contained in:
+2
-1
@@ -26,7 +26,8 @@
|
||||
#endif
|
||||
|
||||
#include "esp_ble_mesh_defs.h"
|
||||
#include "ble_mesh_example_init.h"
|
||||
|
||||
#define TAG "EXAMPLE_INIT"
|
||||
|
||||
#ifdef CONFIG_BT_BLUEDROID_ENABLED
|
||||
void ble_mesh_get_dev_uuid(uint8_t *dev_uuid)
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
#define TAG "EXAMPLE"
|
||||
|
||||
void ble_mesh_get_dev_uuid(uint8_t *dev_uuid);
|
||||
|
||||
esp_err_t bluetooth_init(void);
|
||||
|
||||
Reference in New Issue
Block a user