mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: fix not restoring ble mesh cfg value
This commit is contained in:
parent
abdf12dc9e
commit
66a46de2a7
@ -538,6 +538,7 @@ static int cfg_set(const char *name)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memcpy(&stored_cfg.cfg, &val, sizeof(val));
|
||||||
stored_cfg.valid = true;
|
stored_cfg.valid = true;
|
||||||
BT_DBG("Restore configuration state");
|
BT_DBG("Restore configuration state");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user