Service interval watchdog (#13105)
This commit is contained in:
@@ -527,6 +527,7 @@
|
||||
#define HAS_COLOR_LEDS (ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(PCA9533) || ENABLED(NEOPIXEL_LED))
|
||||
#define HAS_LEDS_OFF_FLAG (ENABLED(PRINTER_EVENT_LEDS) && ENABLED(SDSUPPORT) && HAS_RESUME_CONTINUE)
|
||||
#define HAS_PRINT_PROGRESS (ENABLED(SDSUPPORT) || ENABLED(LCD_SET_PROGRESS_MANUALLY))
|
||||
#define HAS_SERVICE_INTERVALS (SERVICE_INTERVAL_1 > 0 || SERVICE_INTERVAL_2 > 0 || SERVICE_INTERVAL_3 > 0)
|
||||
|
||||
#define Z_MULTI_STEPPER_DRIVERS (ENABLED(Z_DUAL_STEPPER_DRIVERS) || ENABLED(Z_TRIPLE_STEPPER_DRIVERS))
|
||||
#define Z_MULTI_ENDSTOPS (ENABLED(Z_DUAL_ENDSTOPS) || ENABLED(Z_TRIPLE_ENDSTOPS))
|
||||
|
@@ -2085,3 +2085,16 @@ static_assert(sanity_arr_3[0] > 0 && sanity_arr_3[1] > 0 && sanity_arr_3[2] > 0
|
||||
static_assert(NULL == strstr(MMU2_FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with PRUSA_MMU2.");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Advanced PRINTCOUNTER settings
|
||||
*/
|
||||
#if ENABLED(PRINTCOUNTER)
|
||||
#if defined(SERVICE_INTERVAL_1) != defined(SERVICE_NAME_1)
|
||||
#error "Both SERVICE_NAME_1 and SERVICE_INTERVAL_1 are required."
|
||||
#elif defined(SERVICE_INTERVAL_2) != defined(SERVICE_NAME_2)
|
||||
#error "Both SERVICE_NAME_2 and SERVICE_INTERVAL_2 are required."
|
||||
#elif defined(SERVICE_INTERVAL_3) != defined(SERVICE_NAME_3)
|
||||
#error "Both SERVICE_NAME_3 and SERVICE_INTERVAL_3 are required."
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user