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

@ -115,6 +115,18 @@ void menu_led();
void menu_mixer();
#endif
#if HAS_SERVICE_INTERVALS && ENABLED(PRINTCOUNTER)
#if SERVICE_INTERVAL_1 > 0
void menu_service1();
#endif
#if SERVICE_INTERVAL_2 > 0
void menu_service2();
#endif
#if SERVICE_INTERVAL_3 > 0
void menu_service3();
#endif
#endif
void menu_main() {
START_MENU();
MENU_BACK(MSG_WATCH);
@ -237,6 +249,18 @@ void menu_main() {
}
#endif // HAS_ENCODER_WHEEL && SDSUPPORT
#if HAS_SERVICE_INTERVALS && ENABLED(PRINTCOUNTER)
#if SERVICE_INTERVAL_1 > 0
MENU_ITEM(submenu, SERVICE_NAME_1, menu_service1);
#endif
#if SERVICE_INTERVAL_2 > 0
MENU_ITEM(submenu, SERVICE_NAME_2, menu_service2);
#endif
#if SERVICE_INTERVAL_3 > 0
MENU_ITEM(submenu, SERVICE_NAME_3, menu_service3);
#endif
#endif
END_MENU();
}