Browse Source

Fix RRW graphical LCD constructor macro (#11171)

teemuatlut 7 years ago
parent
commit
3de0c85d41
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/src/lcd/ultralcd_impl_DOGM.h View File

120
 
120
 
121
 // LCD selection
121
 // LCD selection
122
 #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
122
 #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
123
-  #ifdef DISABLED(SDSUPPORT) && (LCD_PINS_D4 == SCK_PIN) && (LCD_PINS_ENABLE == MOSI_PIN)
123
+  #if DISABLED(SDSUPPORT) && (LCD_PINS_D4 == SCK_PIN) && (LCD_PINS_ENABLE == MOSI_PIN)
124
     U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_RS); // 2 stripes, HW SPI (shared with SD card)
124
     U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_RS); // 2 stripes, HW SPI (shared with SD card)
125
   #else
125
   #else
126
     U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_D4, LCD_PINS_ENABLE, LCD_PINS_RS); // Original u8glib device. 2 stripes, SW SPI
126
     U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_D4, LCD_PINS_ENABLE, LCD_PINS_RS); // Original u8glib device. 2 stripes, SW SPI

Loading…
Cancel
Save