浏览代码

Fix extrudernum in MSG_INVALID_EXTRUDER

SERIAL_ECHO is not very good in printing uint8_t - so cast. to int.
AnHardt 8 年前
父节点
当前提交
338b69c24b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

@@ -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
   }

正在加载...
取消
保存