浏览代码

Minor code cleanup

Scott Lahteine 6 年前
父节点
当前提交
afe79ba22b
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2
    4
      Marlin/src/feature/pause.cpp

+ 2
- 4
Marlin/src/feature/pause.cpp 查看文件

@@ -232,11 +232,9 @@ bool load_filament(const float &slow_load_length/*=0*/, const float &fast_load_l
232 232
       #endif
233 233
 
234 234
       // Keep looping if "Purge More" was selected
235
-    } while (
235
+    } while (false
236 236
       #if HAS_LCD_MENU
237
-        show_lcd && advanced_pause_menu_response == ADVANCED_PAUSE_RESPONSE_EXTRUDE_MORE
238
-      #else
239
-        0
237
+        && show_lcd && advanced_pause_menu_response == ADVANCED_PAUSE_RESPONSE_EXTRUDE_MORE
240 238
       #endif
241 239
     );
242 240
 

正在加载...
取消
保存