diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 6212e6a612..deba5de886 100644 --- a/Marlin/Marlin_main.cpp +++ b/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; } }