Fix scoping issues for double click to Z-Babystepping

This commit is contained in:
Roxy-3D 2017-02-21 18:15:28 -07:00 committed by GitHub
parent 17d1cd7c09
commit e443e0e2a9

View File

@ -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; millis_t previous_lcd_status_ms = 0;
#endif #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; 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 char lcd_status_message[3 * (LCD_WIDTH) + 1] = WELCOME_MSG; // worst case is kana with up to 3*LCD_WIDTH+1