Make use of "ensure_directory" function (#1765)

This commit is contained in:
Mark Thompson 2024-01-13 00:57:32 -06:00 committed by GitHub
parent 409242507c
commit 58307aee9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 24 deletions

View file

@ -570,7 +570,7 @@ void SystemStatusView::rtc_battery_workaround() {
}
}
} else {
make_new_directory(SETTINGS_DIR);
ensure_directory(SETTINGS_DIR);
make_new_file(DATE_FILEFLAG);
year = 1980;