Browse Source

Fix check for include LiquidCrystalRus.h

Sergey Taranenko 12 years ago
parent
commit
efcc28d347
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      Marlin/ultralcd.h
  2. 1
    1
      Marlin/ultralcd.pde

+ 1
- 0
Marlin/ultralcd.h View File

@@ -2,6 +2,7 @@
2 2
 #define ULTRALCD_H
3 3
 #include "Marlin.h"
4 4
 #ifdef ULTRA_LCD
5
+#include "language.h"
5 6
 #if LANGUAGE_CHOICE == 6
6 7
 #include "LiquidCrystalRus.h"
7 8
 #else

+ 1
- 1
Marlin/ultralcd.pde View File

@@ -46,7 +46,7 @@ static char conv[8];
46 46
 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
47 47
 #else
48 48
 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 
49
-#elseif
49
+#endif
50 50
 
51 51
 static unsigned long previous_millis_lcd=0;
52 52
 //static long previous_millis_buttons=0;

Loading…
Cancel
Save