Skip to content

Commit

Permalink
USE_M73_REMAINING_TIME sanity-check (MarlinFirmware#20751)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and zillarob committed Mar 11, 2021
1 parent 89c6ed3 commit 9947735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,10 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#error "USE_M73_REMAINING_TIME requires LCD_SET_PROGRESS_MANUALLY"
#endif

#if ENABLED(USE_M73_REMAINING_TIME) && DISABLED(LCD_SET_PROGRESS_MANUALLY)
#error "USE_M73_REMAINING_TIME requires LCD_SET_PROGRESS_MANUALLY"
#endif

#if !HAS_LCD_MENU && ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
#error "SD_REPRINT_LAST_SELECTED_FILE currently requires a Marlin-native LCD menu."
#endif
Expand Down

0 comments on commit 9947735

Please sign in to comment.