Removed stringSettings completely
This commit is contained in:
@@ -22,7 +22,6 @@ void switchProfile(uint8_t index)
|
||||
#endif
|
||||
|
||||
settings = presets::defaultSettings;
|
||||
stringSettings = presets::makeDefaultStringSettings();
|
||||
|
||||
if (!settingsPersister.openProfile(index))
|
||||
{
|
||||
@@ -35,11 +34,5 @@ void switchProfile(uint8_t index)
|
||||
ESP_LOGE("BOBBY", "load() for settings failed");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!settingsPersister.load(stringSettings))
|
||||
{
|
||||
ESP_LOGE("BOBBY", "load() for stringSettings failed");
|
||||
return;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user