浏览代码

Fix unused variable warnings (#14643)

Marcio Teixeira 6 年前
父节点
当前提交
57ed063ba1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      Marlin/src/lcd/extensible_ui/ui_api.cpp

+ 3
- 0
Marlin/src/lcd/extensible_ui/ui_api.cpp 查看文件

@@ -668,6 +668,8 @@ namespace ExtUI {
668 668
             && (linked_nozzles || active_extruder == 0)
669 669
           #endif
670 670
         ) zprobe_zoffset += mm;
671
+      #else
672
+        UNUSED(mm);
671 673
       #endif
672 674
 
673 675
       #if EXTRUDERS > 1
@@ -687,6 +689,7 @@ namespace ExtUI {
687 689
         }
688 690
       #else
689 691
         UNUSED(linked_nozzles);
692
+        UNUSED(mm);
690 693
       #endif
691 694
     }
692 695
 

正在加载...
取消
保存