Fix broken POWER_LOSS_RECOVERY prompt (#18557)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
764fc81761
commit
af8be58d92
5 changed files with 7 additions and 11 deletions
|
@ -258,7 +258,7 @@ void HAL_init() {
|
|||
// HAL idle task
|
||||
void HAL_idletask() {
|
||||
#ifdef USE_USB_COMPOSITE
|
||||
#if ENABLED(SHARED_SD_CARD)
|
||||
#if HAS_SHARED_MEDIA
|
||||
// If Marlin is using the SD card we need to lock it to prevent access from
|
||||
// a PC via USB.
|
||||
// Other HALs use IS_SD_PRINTING() and IS_SD_FILE_OPEN() to check for access but
|
||||
|
@ -266,7 +266,7 @@ void HAL_idletask() {
|
|||
// the disk if Marlin has it mounted. Unfortunately there is currently no way
|
||||
// to unmount the disk from the LCD menu.
|
||||
// if (IS_SD_PRINTING() || IS_SD_FILE_OPEN())
|
||||
/* copy from lpc1768 framework, should be fixed later for process SHARED_SD_CARD*/
|
||||
/* copy from lpc1768 framework, should be fixed later for process HAS_SHARED_MEDIA*/
|
||||
#endif
|
||||
// process USB mass storage device class loop
|
||||
MarlinMSC.loop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue