Fix style in settings-sd-card.c
This commit is contained in:
parent
74111826a0
commit
62b256fd18
@ -72,11 +72,7 @@ static int create_controller_folder(void)
|
||||
ret = 0;
|
||||
} else {
|
||||
filesystem_result = f_mkdir(foldername);
|
||||
if (filesystem_result == FR_OK) {
|
||||
ret = 1;
|
||||
} else {
|
||||
ret = -1;
|
||||
}
|
||||
ret = filesystem_result == FR_OK ? 1 : -1;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user