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
   if (tmp_extruder >= EXTRUDERS) {
5199
   if (tmp_extruder >= EXTRUDERS) {
5200
     SERIAL_ECHO_START;
5200
     SERIAL_ECHO_START;
5201
     SERIAL_CHAR('T');
5201
     SERIAL_CHAR('T');
5202
-    SERIAL_ECHO(tmp_extruder);
5202
+    SERIAL_PROTOCOL_F(tmp_extruder,DEC);
5203
     SERIAL_ECHOLN(MSG_INVALID_EXTRUDER);
5203
     SERIAL_ECHOLN(MSG_INVALID_EXTRUDER);
5204
   }
5204
   }
5205
   else {
5205
   else {

Loading…
Cancel
Save