Update N64.ino

This commit is contained in:
sanni 2022-08-19 19:27:28 +02:00
parent fb743285fe
commit 90bbccd959

View File

@ -2205,7 +2205,7 @@ void writeMPK() {
myFile.close();
}
else {
print_Error(F("Can't create file on SD"), true);
print_Error(F("Can't open file on SD"), true);
}
}
@ -2217,8 +2217,8 @@ void verifyMPK() {
display_Update();
//open file on sd card
if (!myFile.open(filePath, O_RDWR | O_CREAT)) {
print_Error(F("Can't create file on SD"), true);
if (!myFile.open(filePath, O_READ)) {
print_Error(F("Can't open file on SD"), true);
}
//Initialize progress bar