mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
components/esp_matter_bridge: add or remove bridged device in console
This commit is contained in:
@@ -449,6 +449,9 @@ esp_err_t factory_reset()
|
||||
err = nvs_erase_all(handle);
|
||||
nvs_commit(handle);
|
||||
nvs_close(handle);
|
||||
for (size_t idx = 0; idx < MAX_BRIDGED_DEVICE_COUNT; ++idx) {
|
||||
bridged_endpoint_id_array[idx] = chip::kInvalidEndpointId;
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user