Warning removed

This commit is contained in:
bsongis
2014-04-29 10:08:26 +02:00
parent 08284a69e6
commit 1378ce75d3
+2 -2
View File
@@ -393,11 +393,11 @@ int menuFlashFile(uint32_t index, uint8_t event)
if (Valid == 0) { if (Valid == 0) {
// Validate file here // Validate file here
if (fr = openBinaryFile(index)) { if ((fr = openBinaryFile(index))) {
Valid = 2; Valid = 2;
} }
else { else {
if (fr = f_close(&FlashFile)) { if ((fr = f_close(&FlashFile))) {
Valid = 2; Valid = 2;
} }
else { else {