"One Click" Print newest file (#25781)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -4044,6 +4044,19 @@ static_assert(_PLUS_TEST(3), "DEFAULT_MAX_ACCELERATION values must be positive."
|
||||
// Multi-Stepping Limit
|
||||
static_assert(WITHIN(MULTISTEPPING_LIMIT, 1, 128) && IS_POWER_OF_2(MULTISTEPPING_LIMIT), "MULTISTEPPING_LIMIT must be 1, 2, 4, 8, 16, 32, 64, or 128.");
|
||||
|
||||
// One Click Print
|
||||
#if ENABLED(ONE_CLICK_PRINT)
|
||||
#if !HAS_MEDIA
|
||||
#error "SD Card or Flash Drive is required for ONE_CLICK_PRINT."
|
||||
#elif ENABLED(BROWSE_MEDIA_ON_INSERT)
|
||||
#error "ONE_CLICK_PRINT is incompatible with BROWSE_MEDIA_ON_INSERT."
|
||||
#elif DISABLED(NO_SD_AUTOSTART)
|
||||
#error "NO_SD_AUTOSTART must be enabled for ONE_CLICK_PRINT."
|
||||
#elif !defined(HAS_MARLINUI_MENU)
|
||||
#error "ONE_CLICK_PRINT needs a display that has Marlin UI menus."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Misc. Cleanup
|
||||
#undef _TEST_PWM
|
||||
#undef _NUM_AXES_STR
|
||||
|
Reference in New Issue
Block a user