Fix style in settings-sd-card.c

This commit is contained in:
Mario Hüttel 2022-07-16 15:07:01 +02:00
parent 74111826a0
commit 62b256fd18

View File

@ -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;