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
 #define ULTRALCD_H
2
 #define ULTRALCD_H
3
 #include "Marlin.h"
3
 #include "Marlin.h"
4
 #ifdef ULTRA_LCD
4
 #ifdef ULTRA_LCD
5
+#include "language.h"
5
 #if LANGUAGE_CHOICE == 6
6
 #if LANGUAGE_CHOICE == 6
6
 #include "LiquidCrystalRus.h"
7
 #include "LiquidCrystalRus.h"
7
 #else
8
 #else

+ 1
- 1
Marlin/ultralcd.pde View File

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
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
 #else
47
 #else
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 
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
 static unsigned long previous_millis_lcd=0;
51
 static unsigned long previous_millis_lcd=0;
52
 //static long previous_millis_buttons=0;
52
 //static long previous_millis_buttons=0;

Loading…
Cancel
Save