Service interval watchdog (#13105)

This commit is contained in:
revilor
2019-02-12 22:58:56 +01:00
committed by Scott Lahteine
parent 7f1b69b0c8
commit e56c13670d
81 changed files with 1321 additions and 16 deletions

View File

@ -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