0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-18 15:21:25 +00:00

🧑‍💻 Update some SDSUPPORT

This commit is contained in:
Scott Lahteine 2023-08-04 18:29:52 -05:00
parent 4e31fa66e2
commit 27e68a61fa
2 changed files with 2 additions and 2 deletions

View file

@ -319,7 +319,7 @@ void MarlinUI::draw_status_screen() {
#if ENABLED(TOUCH_SCREEN)
add_control(MENU_ICON_X, MENU_ICON_Y, menu_main, imgSettings);
#if ENABLED(SDSUPPORT)
#if HAS_MEDIA
const bool cm = card.isMounted(), pa = printingIsActive();
if (cm && pa)
add_control(SDCARD_ICON_X, SDCARD_ICON_Y, STOP, imgCancel, true, COLOR_CONTROL_CANCEL);

View file

@ -58,7 +58,7 @@
//
#if ANY(CR10_STOCKDISPLAY, ENDER2_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.
#endif
#define LCD_PINS_RS EXP1_07_PIN // ST9720 CS