Specify print format for reporting invalid tmp_extruder (PR#2465)

This commit is contained in:
Patrick Bogen 2015-07-18 09:19:27 -07:00 committed by Richard Wackerbarth
parent d15d869267
commit fba4e6241b

View file

@ -5199,7 +5199,7 @@ inline void gcode_T(uint8_t tmp_extruder) {
if (tmp_extruder >= EXTRUDERS) {
SERIAL_ECHO_START;
SERIAL_CHAR('T');
SERIAL_ECHO(tmp_extruder);
SERIAL_PROTOCOL_F(tmp_extruder,DEC);
SERIAL_ECHOLN(MSG_INVALID_EXTRUDER);
}
else {