Skip to content

Commit

Permalink
fail properly on no index
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Jun 15, 2024
1 parent f8db379 commit 9909060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Adafruit_MFM_Floppy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ bool Adafruit_MFM_Floppy::begin(void) {

if (_floppy->spin_motor(true)) {
return inserted(_format);
} else {
return false;
}

return true;
Expand Down

0 comments on commit 9909060

Please sign in to comment.