Browse Source

Trying to fix weird diff on ultralcd_implementation_hitachi_HD44780.h

kiyoshigawa 11 years ago
parent
commit
f295712008
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 3
- 2
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

184
 #elif defined(LCD_I2C_TYPE_PCA8574)
184
 #elif defined(LCD_I2C_TYPE_PCA8574)
185
     #include <LiquidCrystal_I2C.h>
185
     #include <LiquidCrystal_I2C.h>
186
     #define LCD_CLASS LiquidCrystal_I2C
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
 #else
189
 #else
190
   // Standard directly connected LCD implementations
190
   // Standard directly connected LCD implementations
294
         B00000,
294
         B00000,
295
         B00000
295
         B00000
296
     }; //thanks Sonny Mounicou
296
     }; //thanks Sonny Mounicou
297
+
297
 #if defined(LCDI2C_TYPE_PCF8575)
298
 #if defined(LCDI2C_TYPE_PCF8575)
298
     lcd.begin(LCD_WIDTH, LCD_HEIGHT);
299
     lcd.begin(LCD_WIDTH, LCD_HEIGHT);
299
-   #ifdef LCD_I2C_PIN_BL
300
+  #ifdef LCD_I2C_PIN_BL
300
     lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
301
     lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
301
     lcd.setBacklight(HIGH);
302
     lcd.setBacklight(HIGH);
302
   #endif
303
   #endif

Loading…
Cancel
Save