Bläddra i källkod

Fix RRW graphical LCD constructor macro (#11171)

teemuatlut 7 år sedan
förälder
incheckning
3de0c85d41
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      Marlin/src/lcd/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/src/lcd/ultralcd_impl_DOGM.h Visa fil

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

Laddar…
Avbryt
Spara