瀏覽代碼

Fix minor gcc warning

João Brázio 9 年之前
父節點
當前提交
2f7716987d
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      Marlin/Marlin_main.cpp

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

@@ -6671,7 +6671,6 @@ inline void invalid_extruder_error(const uint8_t &e) {
6671 6671
 }
6672 6672
 
6673 6673
 void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
6674
-
6675 6674
   #if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
6676 6675
 
6677 6676
     if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
@@ -6951,6 +6950,9 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool n
6951 6950
       // Set the new active extruder
6952 6951
       active_extruder = tmp_extruder;
6953 6952
 
6953
+      UNUSED(fr_mm_m);
6954
+      UNUSED(no_move);
6955
+
6954 6956
     #endif // HOTENDS <= 1
6955 6957
 
6956 6958
     SERIAL_ECHO_START;

Loading…
取消
儲存