Browse Source

Fix extrudernum in MSG_INVALID_EXTRUDER

SERIAL_ECHO is not very good in printing uint8_t - so cast. to int.
pull/1/head
AnHardt 9 years ago
parent
commit
338b69c24b
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -7380,7 +7380,7 @@ bool setTargetedHotend(int code) {
SERIAL_CHAR('M');
SERIAL_ECHO(code);
SERIAL_ECHOPGM(" " MSG_INVALID_EXTRUDER " ");
SERIAL_ECHOLN(target_extruder);
SERIAL_ECHOLN((int)target_extruder);
return true;
}
}

Loading…
Cancel
Save