Merge pull request #4047 from Alex9779/Fix/ultralcd_move_e

RCBugFix with UltraLCD active does not compile
This commit is contained in:
Scott Lahteine 2016-06-15 20:38:41 -07:00 committed by GitHub
commit 2d6de3e592

View File

@ -1290,7 +1290,7 @@ static void lcd_status_screen() {
#if EXTRUDERS == 1 #if EXTRUDERS == 1
pos_label = PSTR(MSG_MOVE_E); pos_label = PSTR(MSG_MOVE_E);
#else #else
switch (e) { switch (eindex) {
case 0: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E1); break; case 0: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E1); break;
case 1: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E2); break; case 1: pos_label = PSTR(MSG_MOVE_E MSG_MOVE_E2); break;
#if EXTRUDERS > 2 #if EXTRUDERS > 2