소스 검색

Merge pull request #5108 from MagoKimbra/Fix_M420

Fix Command M420
Scott Lahteine 7 년 전
부모
커밋
d095c7933b
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5
    2
      Marlin/Marlin_main.cpp

+ 5
- 2
Marlin/Marlin_main.cpp 파일 보기

@@ -8125,10 +8125,13 @@ void process_next_command() {
8125 8125
           break;
8126 8126
       #endif // ENABLED(FILAMENT_WIDTH_SENSOR)
8127 8127
 
8128
-      #if ENABLED(MESH_BED_LEVELING)
8129
-        case 420: // M420: Enable/Disable Mesh Bed Leveling
8128
+      #if PLANNER_LEVELING
8129
+        case 420: // M420: Enable/Disable Bed Leveling
8130 8130
           gcode_M420();
8131 8131
           break;
8132
+      #endif
8133
+
8134
+      #if ENABLED(MESH_BED_LEVELING)
8132 8135
         case 421: // M421: Set a Mesh Bed Leveling Z coordinate
8133 8136
           gcode_M421();
8134 8137
           break;

Loading…
취소
저장