🎨 ANY => EITHER
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#undef STAT_LED_RED_PIN
|
||||
#undef STAT_LED_BLUE_PIN
|
||||
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
|
||||
#undef DOGLCD_A0
|
||||
#undef DOGLCD_CS
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
#undef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 49 // For easy adapter board
|
||||
#undef BEEPER_PIN
|
||||
@@ -169,7 +169,7 @@
|
||||
#undef SPINDLE_DIR_PIN
|
||||
|
||||
#if HAS_CUTTER // EXP2 header
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
#define BTN_EN2 31 // Pin 7 needed for Spindle PWM
|
||||
#endif
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // Hardware PWM
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
/**
|
||||
* VIKI2 Has two groups of wires with...
|
||||
*
|
||||
|
||||
@@ -728,7 +728,7 @@
|
||||
#define LCD_SDSS SDSS
|
||||
#define SD_DETECT_PIN EXP2_04_PIN
|
||||
|
||||
#elif ANY(VIKI2, miniVIKI)
|
||||
#elif EITHER(VIKI2, miniVIKI)
|
||||
|
||||
#define DOGLCD_CS AUX4_05_PIN
|
||||
#define DOGLCD_A0 AUX2_07_PIN
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
// LCD Display input pins
|
||||
#if IS_NEWPANEL
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
#undef DOGLCD_A0
|
||||
#define DOGLCD_A0 23
|
||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)
|
||||
#if EITHER(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)
|
||||
|
||||
#define LCD_PINS_RS 24
|
||||
#define LCD_PINS_ENABLE 22
|
||||
|
||||
Reference in New Issue
Block a user