Disable not required menu entries

This commit is contained in:
Thomas Basler 2020-02-17 19:55:47 +01:00
parent 17b140cf1d
commit 184d79e19c
2 changed files with 8 additions and 1 deletions

View File

@ -3360,3 +3360,8 @@
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
//#define SERVO_DETACH_GCODE
/**
* MP CNC Specific
*/
#define IS_CNC_ROUTER

View File

@ -340,7 +340,9 @@ void menu_motion() {
#if ENABLED(INDIVIDUAL_AXIS_HOMING_SUBMENU)
SUBMENU(MSG_HOMING, menu_home);
#else
GCODES_ITEM(MSG_AUTO_HOME, FPSTR(G28_STR));
#if DISABLED(IS_CNC_ROUTER)
GCODES_ITEM(MSG_AUTO_HOME, FPSTR(G28_STR));
#endif
#if ENABLED(INDIVIDUAL_AXIS_HOMING_MENU)
MAIN_AXIS_MAP(_HOME_ITEM);
#endif