🧑💻 Update some SDSUPPORT
This commit is contained in:
@@ -319,7 +319,7 @@ void MarlinUI::draw_status_screen() {
|
|||||||
|
|
||||||
#if ENABLED(TOUCH_SCREEN)
|
#if ENABLED(TOUCH_SCREEN)
|
||||||
add_control(MENU_ICON_X, MENU_ICON_Y, menu_main, imgSettings);
|
add_control(MENU_ICON_X, MENU_ICON_Y, menu_main, imgSettings);
|
||||||
#if ENABLED(SDSUPPORT)
|
#if HAS_MEDIA
|
||||||
const bool cm = card.isMounted(), pa = printingIsActive();
|
const bool cm = card.isMounted(), pa = printingIsActive();
|
||||||
if (cm && pa)
|
if (cm && pa)
|
||||||
add_control(SDCARD_ICON_X, SDCARD_ICON_Y, STOP, imgCancel, true, COLOR_CONTROL_CANCEL);
|
add_control(SDCARD_ICON_X, SDCARD_ICON_Y, STOP, imgCancel, true, COLOR_CONTROL_CANCEL);
|
||||||
|
@@ -58,7 +58,7 @@
|
|||||||
//
|
//
|
||||||
#if ANY(CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
|
#if ANY(CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
|
||||||
#if ENABLED(CR10_STOCKDISPLAY)
|
#if ENABLED(CR10_STOCKDISPLAY)
|
||||||
#if ENABLED(SDSUPPORT)
|
#if HAS_MEDIA
|
||||||
#error "Cannot have SDSUPPORT with CR10_STOCKDISPLAY on this motherboard." // Hardware SDCARD SCK and MOSI pins are reallocated.
|
#error "Cannot have SDSUPPORT with CR10_STOCKDISPLAY on this motherboard." // Hardware SDCARD SCK and MOSI pins are reallocated.
|
||||||
#endif
|
#endif
|
||||||
#define LCD_PINS_RS EXP1_07_PIN // ST9720 CS
|
#define LCD_PINS_RS EXP1_07_PIN // ST9720 CS
|
||||||
|
Reference in New Issue
Block a user