Rename LCD conditionals (#19533)

This commit is contained in:
Scott Lahteine
2020-09-28 01:13:27 -05:00
committed by GitHub
parent 1c372df449
commit c2c6a679ea
138 changed files with 353 additions and 333 deletions

View File

@@ -181,7 +181,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1
#define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
@@ -198,4 +198,4 @@
#define BTN_EN2 13 // D13 PB27_TIOB0
#define BTN_ENC 16 // D16 PA13_TXD1
#endif // NEWPANEL
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD

View File

@@ -237,7 +237,7 @@
//
// LCD / Controller
//
#if ANY(HAS_SPI_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
#define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1
#define LCD_PINS_ENABLE 24 // D23 PA14_RTS1

View File

@@ -113,7 +113,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#define LCD_PINS_RS 42
#define LCD_PINS_ENABLE 43
@@ -168,4 +168,4 @@
#define BEEPER_PIN -1
#endif // SPARK_FULL_GRAPHICS
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD

View File

@@ -105,7 +105,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#define LCD_PINS_RS 42
#define LCD_PINS_ENABLE 43
@@ -171,4 +171,4 @@
#define DOGLCD_CS 45
#endif // SPARK_FULL_GRAPHICS
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD

View File

@@ -226,7 +226,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#if ENABLED(RADDS_DISPLAY)
@@ -287,7 +287,7 @@
#endif // SPARK_FULL_GRAPHICS
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD
#ifndef SDSS
#define SDSS 4

View File

@@ -76,7 +76,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#if BOTH(NEWPANEL, PANEL_ONE)
#undef LCD_PINS_D4
@@ -129,4 +129,4 @@
#endif // NEWPANEL
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD

View File

@@ -139,7 +139,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
// ramps-fd lcd adaptor
#define BEEPER_PIN 37
@@ -203,7 +203,7 @@
#define DOGLCD_MISO 74 // MISO_PIN
#endif
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD
#if HAS_TMC_UART
/**

View File

@@ -200,7 +200,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#if ANY(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BEEPER_PIN 62
@@ -271,4 +271,4 @@
#define BTN_ENC 40
#endif
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD

View File

@@ -186,7 +186,7 @@
//
// LCD / Controller
//
#if HAS_SPI_LCD
#if HAS_WIRED_LCD
#if ANY(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BEEPER_PIN 62
@@ -253,4 +253,4 @@
#define BTN_ENC 40
#endif
#endif // HAS_SPI_LCD
#endif // HAS_WIRED_LCD