Add HAS_PIN_27_BOARD for CREALITY_V4 (#20446)
Co-authored-by: ellensp <ellensp@hotmsil.com>
This commit is contained in:
parent
d0c2b643f8
commit
5aebc9fb0c
@ -48,17 +48,21 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(IIC_BL24CXX_EEPROM)
|
#if ENABLED(IIC_BL24CXX_EEPROM)
|
||||||
#define IIC_EEPROM_SDA PA11
|
#define IIC_EEPROM_SDA PA11
|
||||||
#define IIC_EEPROM_SCL PA12
|
#define IIC_EEPROM_SCL PA12
|
||||||
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
|
||||||
#elif ENABLED(SDCARD_EEPROM_EMULATION)
|
#elif ENABLED(SDCARD_EEPROM_EMULATION)
|
||||||
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Servos
|
// Servos
|
||||||
//
|
//
|
||||||
#define SERVO0_PIN PB0 // BLTouch OUT
|
#ifndef HAS_PIN_27_BOARD
|
||||||
|
#define SERVO0_PIN PB0 // BLTouch OUT
|
||||||
|
#else
|
||||||
|
#define SERVO0_PIN PC6
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Limit Switches
|
// Limit Switches
|
||||||
@ -156,7 +160,9 @@
|
|||||||
#define BTN_EN1 PB10
|
#define BTN_EN1 PB10
|
||||||
#define BTN_EN2 PB14
|
#define BTN_EN2 PB14
|
||||||
|
|
||||||
#define BEEPER_PIN PC6
|
#ifndef HAS_PIN_27_BOARD
|
||||||
|
#define BEEPER_PIN PC6
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif ENABLED(VET6_12864_LCD)
|
#elif ENABLED(VET6_12864_LCD)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user