ble_mesh: Fix compile error when -O2 (performance) is chosen
This commit is contained in:
@@ -138,7 +138,7 @@ static void provisioner_prov_complete(int node_index, const uint8_t uuid[16], ui
|
||||
uint8_t elem_num, uint16_t net_idx)
|
||||
{
|
||||
example_node_info_t *node = NULL;
|
||||
char name[10];
|
||||
char name[11] = {0};
|
||||
esp_err_t err;
|
||||
|
||||
ESP_LOGI(TAG, "Node index: 0x%x, unicast address: 0x%02x, element num: %d, netkey index: 0x%02x",
|
||||
|
||||
@@ -191,7 +191,7 @@ static esp_err_t prov_complete(int node_idx, const esp_ble_mesh_octet16_t uuid,
|
||||
esp_ble_mesh_client_common_param_t common = {0};
|
||||
esp_ble_mesh_cfg_client_get_state_t get_state = {0};
|
||||
esp_ble_mesh_node_info_t *node = NULL;
|
||||
char name[10];
|
||||
char name[11] = {0};
|
||||
int err;
|
||||
|
||||
ESP_LOGI(TAG, "node index: 0x%x, unicast address: 0x%02x, element num: %d, netkey index: 0x%02x",
|
||||
|
||||
Reference in New Issue
Block a user