diff --git a/Marlin/ultralcd.h b/Marlin/ultralcd.h index 1d46572727..fbc12e987f 100644 --- a/Marlin/ultralcd.h +++ b/Marlin/ultralcd.h @@ -2,6 +2,7 @@ #define ULTRALCD_H #include "Marlin.h" #ifdef ULTRA_LCD +#include "language.h" #if LANGUAGE_CHOICE == 6 #include "LiquidCrystalRus.h" #else diff --git a/Marlin/ultralcd.pde b/Marlin/ultralcd.pde index 47e1a2a9fe..dcbde404ae 100644 --- a/Marlin/ultralcd.pde +++ b/Marlin/ultralcd.pde @@ -46,7 +46,7 @@ static char conv[8]; LiquidCrystalRus lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5,LCD_PINS_D6,LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7 #else LiquidCrystal lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5,LCD_PINS_D6,LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7 -#elseif +#endif static unsigned long previous_millis_lcd=0; //static long previous_millis_buttons=0;