Skip to content

Commit 951b8be

Browse files
committed
🩹 Update Creality CR4NS
Followup to #27003
1 parent f1bb46f commit 951b8be

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
//
6363
// Limit Switches
6464
//
65+
#define X_DIAG_PIN PB10
66+
#define Y_DIAG_PIN PB11
6567
#ifndef Z_STOP_PIN
6668
#define Z_STOP_PIN PC14
6769
#endif
@@ -79,23 +81,19 @@
7981
#define HEATER_BED_PIN PB2 // HOT BED
8082
#define FAN1_PIN PC1 // extruder fan
8183

82-
//
83-
// Steppers
84-
//
85-
#if HAS_TMC_UART
86-
87-
// Reduce baud rate to improve software serial reliability
88-
#define TMC_BAUD_RATE 19200
8984

85+
#if HAS_TMC_UART
9086
// Software serial
9187
#define X_SERIAL_TX_PIN PB12
92-
#define X_DIAG_PIN PB10
93-
9488
#define Y_SERIAL_TX_PIN PB13
95-
#define Y_DIAG_PIN PB11
96-
9789
#define Z_SERIAL_TX_PIN PB14
98-
#endif // HAS_TMC_UART
90+
#define E0_SERIAL_TX_PIN PB15
91+
92+
// Reduce baud rate to improve software serial reliability
93+
#ifndef TMC_BAUD_RATE
94+
#define TMC_BAUD_RATE 19200
95+
#endif
96+
#endif
9997

10098
//
10199
// SD Card

0 commit comments

Comments
 (0)