Skip to content

Commit

Permalink
disk_initialize: forgot default case
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxSH committed Apr 11, 2022
1 parent 9309e65 commit 25c0722
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stage2/arm9/source/fatfs/diskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ DSTATUS disk_initialize (
res = ctrNandInit();
nandInitialized = res == 0;
break;
default:
res = -1;
break;
}

return res == 0 ? 0 : STA_NOINIT;
Expand Down

0 comments on commit 25c0722

Please sign in to comment.