Skip to content

Commit

Permalink
Fix config saving
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Orlov committed May 24, 2024
1 parent 67b588c commit b432316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class Config : BaseConfig {
fs::File configFile = LittleFS.open(configPath, "w", true);
if (configFile) {
serializeJson(doc, configFile);
configFile.flush();
configFile.close();
LV_LOG_INFO("file saved");
}
Expand Down

0 comments on commit b432316

Please sign in to comment.