Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 20, 2022
1 parent b2aa0d0 commit cb68ce3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_ENWI_ESPNP.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#define FAN2_PIN 135
#define FAN3_PIN 136

// #define FAN_SOFT_PWM_REQUIRED // check if needed
//#define FAN_SOFT_PWM_REQUIRED // check if needed

// Neopixel Rings
#define NEOPIXEL_PIN 14
Expand Down
24 changes: 13 additions & 11 deletions Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@
#define EXP2_05_PIN PB0
#define EXP2_06_PIN PB15
#define EXP2_07_PIN PC10
#define EXP2_08_PIN -1 // RESET
#define EXP2_08_PIN -1 // RESET

// "Ender-3 EXP1"
#define EXP3_01_PIN PC1
#define EXP3_02_PIN PC3
#define EXP3_03_PIN PB11
#define EXP3_04_PIN -1 // RESET
#define EXP3_04_PIN -1 // RESET
#define EXP3_05_PIN PB0
#define EXP3_06_PIN PA6
#define EXP3_07_PIN PA5
Expand Down Expand Up @@ -249,14 +249,16 @@
//
// SD Card
//
// DEFAULT_SPI == 2 defines the following pins
// DEFAULT_SPI == 2 defines the following pins,
// used as overrides in HAL/STM32/spi_pins.h
//
// #define PIN_SPI_SS PB12
// #define PIN_SPI_MOSI PB15
// #define PIN_SPI_MISO PB14
// #define PIN_SPI_SCK PB13
//#define PIN_SPI_SS PB12
//#define PIN_SPI_MOSI PB15
//#define PIN_SPI_MISO PB14
//#define PIN_SPI_SCK PB13

//
// Onboard SDCARD uses thes pins and is shared on EXP2 for LCD's
// Onboard SDCARD uses these pins and is shared on EXP2 for LCDs
//
// SPI2_CS PA15
// SPI2_MOSI PB15
Expand All @@ -266,6 +268,6 @@

#if ENABLED(SDSUPPORT)
#define NO_SD_HOST_DRIVE
#define SDSS EXP2_04_PIN // PA15
#define SD_DETECT_PIN EXP2_07_PIN // PC10
#endif
#define SDSS EXP2_04_PIN
#define SD_DETECT_PIN EXP2_07_PIN
#endif

0 comments on commit cb68ce3

Please sign in to comment.