USE_M73_REMAINING_TIME sanity-check (#20751)

This commit is contained in:
ellensp 2021-01-20 15:55:57 +13:00 committed by GitHub
parent a10626705d
commit fd45854000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -709,6 +709,10 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#endif
#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