Преглед на файлове

Trying to fix weird diff on ultralcd_implementation_hitachi_HD44780.h

kiyoshigawa преди 11 години
родител
ревизия
f295712008
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3
    2
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 3
- 2
Marlin/ultralcd_implementation_hitachi_HD44780.h Целия файл

@@ -184,7 +184,7 @@ extern volatile uint16_t buttons;  //an extended version of the last checked but
184 184
 #elif defined(LCD_I2C_TYPE_PCA8574)
185 185
     #include <LiquidCrystal_I2C.h>
186 186
     #define LCD_CLASS LiquidCrystal_I2C
187
-	LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
187
+    LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
188 188
   
189 189
 #else
190 190
   // Standard directly connected LCD implementations
@@ -294,9 +294,10 @@ static void lcd_implementation_init()
294 294
         B00000,
295 295
         B00000
296 296
     }; //thanks Sonny Mounicou
297
+
297 298
 #if defined(LCDI2C_TYPE_PCF8575)
298 299
     lcd.begin(LCD_WIDTH, LCD_HEIGHT);
299
-   #ifdef LCD_I2C_PIN_BL
300
+  #ifdef LCD_I2C_PIN_BL
300 301
     lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
301 302
     lcd.setBacklight(HIGH);
302 303
   #endif

Loading…
Отказ
Запис