Ver código fonte

Fix broken LEVEL_BED_CORNERS

Fix #8805
Scott Lahteine 7 anos atrás
pai
commit
65519263f4
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      Marlin/src/Marlin.cpp
  2. 1
    1
      Marlin/src/gcode/control/M17_M18_M84.cpp

+ 1
- 1
Marlin/src/Marlin.cpp Ver arquivo

@@ -360,7 +360,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
360 360
       disable_e_steppers();
361 361
     #endif
362 362
     #if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)  // Only needed with an LCD
363
-      ubl.lcd_map_control = defer_return_to_status = false;
363
+      if (ubl.lcd_map_control) ubl.lcd_map_control = defer_return_to_status = false;
364 364
     #endif
365 365
   }
366 366
 

+ 1
- 1
Marlin/src/gcode/control/M17_M18_M84.cpp Ver arquivo

@@ -60,7 +60,7 @@ void GcodeSuite::M18_M84() {
60 60
     }
61 61
 
62 62
     #if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)  // Only needed with an LCD
63
-      ubl.lcd_map_control = defer_return_to_status = false;
63
+      if (ubl.lcd_map_control) ubl.lcd_map_control = defer_return_to_status = false;
64 64
     #endif
65 65
   }
66 66
 }

Carregando…
Cancelar
Salvar