Browse Source

lcd_map_control deps on ULTIPANEL

pull/1/head
Scott Lahteine 7 years ago
parent
commit
026e301307
  1. 2
      Marlin/src/Marlin.cpp
  2. 2
      Marlin/src/gcode/control/M17_M18_M84.cpp

2
Marlin/src/Marlin.cpp

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

2
Marlin/src/gcode/control/M17_M18_M84.cpp

@ -59,7 +59,7 @@ void GcodeSuite::M18_M84() {
#endif
}
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTRA_LCD) // Only needed with an LCD
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL) // Only needed with an LCD
ubl.lcd_map_control = defer_return_to_status = false;
#endif
}

Loading…
Cancel
Save