Use a default argument in _lcd_move_e

This commit is contained in:
Scott Lahteine 2016-08-01 00:12:20 -07:00
parent 374ae6c099
commit 38af251b91

View File

@ -1359,7 +1359,7 @@ void kill_screen(const char* lcd_msg) {
static void lcd_move_z() { _lcd_move_xyz(PSTR(MSG_MOVE_Z), Z_AXIS, sw_endstop_min[Z_AXIS], sw_endstop_max[Z_AXIS]); }
static void _lcd_move_e(
#if E_MANUAL > 1
int8_t eindex
int8_t eindex=-1
#endif
) {
if (LCD_CLICKED) { lcd_goto_previous_menu(true); return; }
@ -1437,9 +1437,8 @@ void kill_screen(const char* lcd_msg) {
MENU_ITEM(gcode, MSG_SELECT MSG_E2, PSTR("T1"));
#endif
#if E_MANUAL == 1
MENU_ITEM(submenu, MSG_MOVE_E, lcd_move_e);
#else
MENU_ITEM(submenu, MSG_MOVE_E, lcd_move_e);
#if E_MANUAL > 1
MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E1, lcd_move_e0);
MENU_ITEM(submenu, MSG_MOVE_E MSG_MOVE_E2, lcd_move_e1);
#if E_MANUAL > 2