Skip to content

Commit

Permalink
Update N64.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni committed Aug 19, 2022
1 parent fb74328 commit 90bbccd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cart_Reader/N64.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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
Expand Down

0 comments on commit 90bbccd

Please sign in to comment.