Fix a PROBE_MANUALLY bug in ultralcd.cpp

This commit is contained in:
Scott Lahteine 2017-05-16 04:24:22 -05:00
parent 13a06711ad
commit 00d358d92d

View file

@ -1425,10 +1425,6 @@ void kill_screen(const char* lcd_msg) {
static uint8_t manual_probe_index; static uint8_t manual_probe_index;
#if ENABLED(PROBE_MANUALLY)
extern bool g29_in_progress;
#endif
// LCD probed points are from defaults // LCD probed points are from defaults
constexpr uint8_t total_probe_points = ( constexpr uint8_t total_probe_points = (
#if ENABLED(AUTO_BED_LEVELING_3POINT) #if ENABLED(AUTO_BED_LEVELING_3POINT)
@ -1645,6 +1641,10 @@ void kill_screen(const char* lcd_msg) {
#if ENABLED(LCD_BED_LEVELING) || HAS_ABL #if ENABLED(LCD_BED_LEVELING) || HAS_ABL
#if ENABLED(PROBE_MANUALLY)
extern bool g29_in_progress;
#endif
/** /**
* Step 2: Continue Bed Leveling... * Step 2: Continue Bed Leveling...
*/ */