Skip to content

Commit

Permalink
Update cardreader.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored Aug 19, 2020
1 parent e448bb5 commit 6a40f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/sd/cardreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void CardReader::mount() {
SERIAL_ECHO_MSG(STR_SD_CARD_OK);
}

if (flag.mounted == true)
if (flag.mounted)
cdroot();
else {
spiInit(SPI_SPEED); // Return to base SPI speed
Expand Down

0 comments on commit 6a40f3c

Please sign in to comment.