From efcc28d347c73f03a2f87b9c9b79235127431c60 Mon Sep 17 00:00:00 2001 From: Sergey Taranenko Date: Sat, 13 Oct 2012 00:29:34 +0400 Subject: [PATCH] Fix check for include LiquidCrystalRus.h --- Marlin/ultralcd.h | 1 + Marlin/ultralcd.pde | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;