Implement nvs erase

This commit is contained in:
CommanderRedYT
2022-10-02 22:54:19 +02:00
parent 4347377d61
commit 40e200a147
7 changed files with 41 additions and 6 deletions

View File

@ -101,6 +101,8 @@ extern "C" void app_main()
if (const auto result = configs.init("bobbycar"); result != ESP_OK)
ESP_LOGE(TAG, "config_init_settings() failed with %s", esp_err_to_name(result));
updateRotation();
profileSettings = presets::defaultProfileSettings;
if (settingsPersister.init())