1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 12:35:51 +00:00

Fix extrudernum in MSG_INVALID_EXTRUDER

SERIAL_ECHO is not very good in printing uint8_t - so cast. to int.
This commit is contained in:
AnHardt 2016-03-20 11:36:06 +01:00
parent 32f75749e4
commit 338b69c24b

View File

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