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;
|
ret = 0;
|
||||||
} else {
|
} else {
|
||||||
filesystem_result = f_mkdir(foldername);
|
filesystem_result = f_mkdir(foldername);
|
||||||
if (filesystem_result == FR_OK) {
|
ret = filesystem_result == FR_OK ? 1 : -1;
|
||||||
ret = 1;
|
|
||||||
} else {
|
|
||||||
ret = -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user