Victor Oliveira
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
Marlin/src/sd/cardreader.cpp
|
@ -383,8 +383,10 @@ void CardReader::mount() { |
|
|
|
|
|
|
|
|
if (flag.mounted) |
|
|
if (flag.mounted) |
|
|
cdroot(); |
|
|
cdroot(); |
|
|
|
|
|
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) || PIN_EXISTS(SD_DETECT) |
|
|
else if (marlin_state != MF_INITIALIZING) |
|
|
else if (marlin_state != MF_INITIALIZING) |
|
|
ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1); |
|
|
ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
ui.refresh(); |
|
|
ui.refresh(); |
|
|
} |
|
|
} |
|
|