Add "End Repeat Loops" menu item
This commit is contained in:
@ -58,6 +58,10 @@
|
||||
#include "../../feature/host_actions.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(GCODE_REPEAT_MARKERS)
|
||||
#include "../../feature/repeat.h"
|
||||
#endif
|
||||
|
||||
void menu_tune();
|
||||
void menu_cancelobject();
|
||||
void menu_motion();
|
||||
@ -120,6 +124,11 @@ void menu_main() {
|
||||
});
|
||||
#endif
|
||||
|
||||
#if ENABLED(GCODE_REPEAT_MARKERS)
|
||||
if (repeat.is_active())
|
||||
ACTION_ITEM(MSG_END_LOOPS, repeat.cancel);
|
||||
#endif
|
||||
|
||||
SUBMENU(MSG_TUNE, menu_tune);
|
||||
|
||||
#if ENABLED(CANCEL_OBJECTS) && DISABLED(SLIM_LCD_MENUS)
|
||||
|
Reference in New Issue
Block a user