Browse Source

Sanity-check for SD reprint

Scott Lahteine 5 years ago
parent
commit
b39ab3db37
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h View File

@@ -563,6 +563,10 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
563 563
   #error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR, Graphical LCD, or EXTENSIBLE_UI."
564 564
 #endif
565 565
 
566
+#if !HAS_LCD_MENU && ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
567
+  #error "SD_REPRINT_LAST_SELECTED_FILE currently requires a Marlin-native LCD menu."
568
+#endif
569
+
566 570
 /**
567 571
  * Custom Boot and Status screens
568 572
  */

Loading…
Cancel
Save