Browse Source

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

Patrick Bogen 10 years ago
parent
commit
fba4e6241b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save