Browse Source

Bugfix (#7265)

Fix compile error when UBL is enabled but there is no LCD Panel.
pull/1/head
Tannoo 7 years ago
committed by Roxy-3D
parent
commit
e927941c06
  1. 4
      Marlin/stepper.cpp

4
Marlin/stepper.cpp

@ -62,7 +62,7 @@ Stepper stepper; // Singleton
// public: // public:
#if ENABLED(AUTO_BED_LEVELING_UBL) #if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
extern bool ubl_lcd_map_control; extern bool ubl_lcd_map_control;
#endif #endif
@ -1285,7 +1285,7 @@ void Stepper::finish_and_disable() {
} }
void Stepper::quick_stop() { void Stepper::quick_stop() {
#if ENABLED(AUTO_BED_LEVELING_UBL) #if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
if (!ubl_lcd_map_control) if (!ubl_lcd_map_control)
cleaning_buffer_counter = 5000; cleaning_buffer_counter = 5000;
#else #else

Loading…
Cancel
Save