Browse Source

Fix RRW graphical LCD constructor macro (#11171)

pull/1/head
teemuatlut 7 years ago
committed by Scott Lahteine
parent
commit
3de0c85d41
  1. 2
      Marlin/src/lcd/ultralcd_impl_DOGM.h

2
Marlin/src/lcd/ultralcd_impl_DOGM.h

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

Loading…
Cancel
Save