[2.0.x] VIKI2 & RE_ARM changes (#9686)
* VIKI2 & RE_ARM changes 1. Remove `DISABLED(SDSUPPORT)` from ST7565 in `ultralcd_impl_DOGM.h`. These LCDs share pins with the SD card and can run at the SD card rates. 2. Add SDSS definition to `pins_RAMPS_RE_ARM.h`. Apparently the SDSS definition in `pins.h` is being processed before the one in `spi_pins.h` which resulted in not being able to read the SD card.
This commit is contained in:
parent
7a381366aa
commit
e05673a379
@ -187,7 +187,7 @@
|
||||
|
||||
#elif ENABLED(U8GLIB_ST7565_64128N)
|
||||
// The MaKrPanel, Mini Viki, and Viki 2.0, ST7565 controller
|
||||
#if DISABLED(SDSUPPORT) && (DOGLCD_SCK == SCK_PIN) && (DOGLCD_MOSI == MOSI_PIN)
|
||||
#if DOGLCD_SCK == SCK_PIN && DOGLCD_MOSI == MOSI_PIN
|
||||
U8GLIB_64128N_2X_HAL u8g(DOGLCD_CS, DOGLCD_A0); // using HW-SPI
|
||||
#else
|
||||
U8GLIB_64128N_2X_HAL u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0); // using SW-SPI
|
||||
|
@ -197,6 +197,7 @@
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN P4_28 // (13)
|
||||
#define SDSS P1_23 // (53)
|
||||
|
||||
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
|
||||
#define FIL_RUNOUT_PIN P1_18 // (4)
|
||||
|
Loading…
Reference in New Issue
Block a user