Overridable Options - Part 4 (PR#2556)
Apply `ENABLED` / `DISABLED` / `HAS_SERVOS` macros to pins files.
This commit is contained in:
committed by
Richard Wackerbarth
parent
4b40964064
commit
c0d7ea3e7e
@ -45,7 +45,7 @@
|
||||
#define TEMP_1_PIN -1
|
||||
#define TEMP_2_PIN -1
|
||||
|
||||
#ifndef SDSUPPORT
|
||||
#if DISABLED(SDSUPPORT)
|
||||
// these pins are defined in the SD library if building with SD support
|
||||
#define SCK_PIN 9
|
||||
#define MISO_PIN 11
|
||||
@ -93,13 +93,13 @@
|
||||
#define LCD_PINS_D6 -1
|
||||
#define LCD_PINS_D7 -1
|
||||
|
||||
#ifdef SAV_3DLCD
|
||||
#if ENABLED(SAV_3DLCD)
|
||||
// For LCD SHIFT register LCD
|
||||
#define SR_DATA_PIN EXT_AUX_SDA_D1
|
||||
#define SR_CLK_PIN EXT_AUX_SCL_D0
|
||||
#endif // SAV_3DLCD
|
||||
|
||||
#if defined(SAV_3DLCD)||defined(SAV_3DGLCD)
|
||||
#if ENABLED(SAV_3DLCD) || ENABLED(SAV_3DGLCD)
|
||||
#define BTN_EN1 EXT_AUX_A1_IO
|
||||
#define BTN_EN2 EXT_AUX_A0_IO
|
||||
#define BTN_ENC EXT_AUX_PWM_D24
|
||||
@ -108,6 +108,6 @@
|
||||
#define HOME_PIN EXT_AUX_A4_IO
|
||||
#endif // SAV_3DLCD || SAV_3DGLCD
|
||||
|
||||
#ifdef NUM_SERVOS
|
||||
#if HAS_SERVOS
|
||||
#define SERVO0_PIN 41 // In teensy's pin definition for pinMode (in servo.cpp)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user