Skip to content

Commit

Permalink
run pins formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 18, 2022
1 parent 794bc13 commit b26cdce
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@
* GND | 9 10 | 5V
* ------
*/
#define EXP3_01_PIN PC6
#define EXP3_02_PIN PB2
#define EXP3_03_PIN PB10
#define EXP3_04_PIN PB11
#define EXP3_05_PIN PB14
#define EXP3_06_PIN PB13
#define EXP3_07_PIN PB12
#define EXP3_08_PIN PB15
#define EXP3_01_PIN PC6
#define EXP3_02_PIN PB2
#define EXP3_03_PIN PB10
#define EXP3_04_PIN PB11
#define EXP3_05_PIN PB14
#define EXP3_06_PIN PB13
#define EXP3_07_PIN PB12
#define EXP3_08_PIN PB15

#elif EITHER(VET6_12864_LCD, DWIN_VET6_CREALITY_LCD)

Expand All @@ -194,14 +194,14 @@
* GND | 9 10 | 5V
* ------
*/
#define EXP3_01_PIN -1
#define EXP3_02_PIN PC5
#define EXP3_03_PIN PB10
#define EXP3_04_PIN -1
#define EXP3_05_PIN PA6
#define EXP3_06_PIN PA5
#define EXP3_07_PIN PA4
#define EXP3_08_PIN PA7
#define EXP3_01_PIN -1
#define EXP3_02_PIN PC5
#define EXP3_03_PIN PB10
#define EXP3_04_PIN -1
#define EXP3_05_PIN PA6
#define EXP3_06_PIN PA5
#define EXP3_07_PIN PA4
#define EXP3_08_PIN PA7

#elif EITHER(CR10_STOCKDISPLAY, FYSETC_MINI_12864_2_1)
#error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for the LCD with the Creality V4 controller."
Expand Down Expand Up @@ -284,20 +284,20 @@

#endif

// Pins for documetation and sanity checks only.
// Changing these will not chnage the pin they are on.
// Pins for documentation and sanity checks only.
// Changing these will not change the pin they are on.

// Hardware UART pins
#define UART1_TX_PIN PA9 // default use CH340 RX
#define UART1_RX_PIN PA10 // default use CH340 TX
#define UART2_TX_PIN PA2 // default use HEATER_BED_PIN
#define UART2_RX_PIN PA3 // not connected
#define UART3_TX_PIN PB10 // default use LCD connector
#define UART3_RX_PIN PB11 // default use LCD connector
#define UART4_TX_PIN PC10 // default use sdcard SDIO_D2
#define UART4_RX_PIN PC11 // default use sdcard SDIO_D3
#define UART5_TX_PIN PC12 // default use sdcard SDIO_CK
#define UART5_RX_PIN PD2 // default use sdcard SDIO_CMD
#define UART1_TX_PIN PA9 // default use CH340 RX
#define UART1_RX_PIN PA10 // default use CH340 TX
#define UART2_TX_PIN PA2 // default use HEATER_BED_PIN
#define UART2_RX_PIN PA3 // not connected
#define UART3_TX_PIN PB10 // default use LCD connector
#define UART3_RX_PIN PB11 // default use LCD connector
#define UART4_TX_PIN PC10 // default use sdcard SDIO_D2
#define UART4_RX_PIN PC11 // default use sdcard SDIO_D3
#define UART5_TX_PIN PC12 // default use sdcard SDIO_CK
#define UART5_RX_PIN PD2 // default use sdcard SDIO_CMD

// SDIO pins
#define SDIO_D0_PIN PC8
Expand Down

0 comments on commit b26cdce

Please sign in to comment.