mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
ble_mesh: Fix update wrong last_hb info
This commit is contained in:
@ -367,7 +367,7 @@ static int provisioner_store_node(struct bt_mesh_node *node, bool prov, bool sto
|
||||
}
|
||||
|
||||
memcpy(mesh_nodes[i], node, sizeof(struct bt_mesh_node));
|
||||
node->last_hb = k_uptime_get_32() / 1000;
|
||||
mesh_nodes[i]->last_hb = k_uptime_get_32() / 1000;
|
||||
provisioner_node_count_inc(prov);
|
||||
if (index) {
|
||||
*index = i;
|
||||
|
Reference in New Issue
Block a user