From e443e0e2a9f295f063eab50da9f70e97f2a00112 Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Tue, 21 Feb 2017 18:15:28 -0700 Subject: [PATCH] Fix scoping issues for double click to Z-Babystepping --- Marlin/ultralcd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 70e776bc7..1e5aa01c0 100755 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -49,6 +49,12 @@ int lcd_preheat_hotend_temp[2], lcd_preheat_bed_temp[2], lcd_preheat_fan_speed[2 millis_t previous_lcd_status_ms = 0; #endif +#if ENABLED(BABYSTEPPING) + long babysteps_done = 0; + millis_t status_screen_click_time = 0; + static void lcd_babystep_z(); +#endif + uint8_t lcd_status_message_level; char lcd_status_message[3 * (LCD_WIDTH) + 1] = WELCOME_MSG; // worst case is kana with up to 3*LCD_WIDTH+1