Browse Source

Fix extrudernum in MSG_INVALID_EXTRUDER

SERIAL_ECHO is not very good in printing uint8_t - so cast. to int.
AnHardt 8 years ago
parent
commit
338b69c24b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save