Skip to content

Commit

Permalink
AlarmController: clang-format .system dir creation
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroBurner committed Sep 21, 2024
1 parent 8d6ddf1 commit 579be33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/alarm/AlarmController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ void AlarmController::LoadSettingsFromFile() {

void AlarmController::SaveSettingsToFile() const {
lfs_dir systemDir;
if (fs.DirOpen("/.system", &systemDir) != LFS_ERR_OK)
{
if (fs.DirOpen("/.system", &systemDir) != LFS_ERR_OK) {
fs.DirCreate("/.system");
}
lfs_file_t alarmFile;
Expand Down

0 comments on commit 579be33

Please sign in to comment.