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:
@@ -23,6 +23,8 @@
|
||||
#include "ble_mesh_example_init.h"
|
||||
#include "ble_mesh_example_nvs.h"
|
||||
|
||||
#define TAG "EXAMPLE"
|
||||
|
||||
#define CID_ESP 0x02E5
|
||||
|
||||
static uint8_t dev_uuid[16] = { 0xdd, 0xdd };
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "board.h"
|
||||
#include "ble_mesh_example_init.h"
|
||||
|
||||
#define TAG "EXAMPLE"
|
||||
|
||||
#define CID_ESP 0x02E5
|
||||
|
||||
extern struct _led_state led_state[3];
|
||||
|
||||
Reference in New Issue
Block a user