We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4143156 commit 946b9fdCopy full SHA for 946b9fd
components/bt/esp_ble_mesh/core/storage/settings.c
@@ -1483,6 +1483,8 @@ int settings_core_commit(void)
1483
struct bt_mesh_hb_pub *hb_pub = NULL;
1484
struct bt_mesh_cfg_srv *cfg = NULL;
1485
1486
+ bt_mesh_atomic_set_bit(bt_mesh.flags, BLE_MESH_VALID);
1487
+
1488
hb_pub = bt_mesh_hb_pub_get();
1489
if (hb_pub && hb_pub->dst != BLE_MESH_ADDR_UNASSIGNED &&
1490
hb_pub->count && hb_pub->period) {
@@ -1501,7 +1503,6 @@ int settings_core_commit(void)
1501
1503
cfg->default_ttl = stored_cfg.cfg.default_ttl;
1502
1504
}
1505
- bt_mesh_atomic_set_bit(bt_mesh.flags, BLE_MESH_VALID);
1506
bt_mesh_net_start();
1507
1508
#endif /* CONFIG_BLE_MESH_NODE */
0 commit comments