Minor pins cleanup
This commit is contained in:
parent
52a0895635
commit
f9b6c504df
|
@ -144,31 +144,26 @@
|
||||||
#if AXIS_DRIVER_TYPE_X(TMC2130)
|
#if AXIS_DRIVER_TYPE_X(TMC2130)
|
||||||
#define X_CS_PIN P4_28
|
#define X_CS_PIN P4_28
|
||||||
#undef X_ENABLE_PIN
|
#undef X_ENABLE_PIN
|
||||||
#define X_ENABLE_PIN -1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_Y(TMC2130)
|
#if AXIS_DRIVER_TYPE_Y(TMC2130)
|
||||||
#define Y_CS_PIN P2_00
|
#define Y_CS_PIN P2_00
|
||||||
#undef Y_ENABLE_PIN
|
#undef Y_ENABLE_PIN
|
||||||
#define Y_ENABLE_PIN -1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_Z(TMC2130)
|
#if AXIS_DRIVER_TYPE_Z(TMC2130)
|
||||||
#define Z_CS_PIN P0_19
|
#define Z_CS_PIN P0_19
|
||||||
#undef Z_ENABLE_PIN
|
#undef Z_ENABLE_PIN
|
||||||
#define Z_ENABLE_PIN -1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC2130)
|
#if AXIS_DRIVER_TYPE_E0(TMC2130)
|
||||||
#define E0_CS_PIN P2_12
|
#define E0_CS_PIN P2_12
|
||||||
#undef E0_ENABLE_PIN
|
#undef E0_ENABLE_PIN
|
||||||
#define E0_ENABLE_PIN -1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E1(TMC2130)
|
#if AXIS_DRIVER_TYPE_E1(TMC2130)
|
||||||
#define E1_CS_PIN P0_10
|
#define E1_CS_PIN P0_10
|
||||||
#undef E1_ENABLE_PIN
|
#undef E1_ENABLE_PIN
|
||||||
#define E1_ENABLE_PIN -1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // !SOFTWARE_DRIVER_ENABLE
|
#else // !SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
|
@ -97,7 +97,6 @@
|
||||||
// Misc. Functions
|
// Misc. Functions
|
||||||
//
|
//
|
||||||
#undef PS_ON_PIN
|
#undef PS_ON_PIN
|
||||||
#define PS_ON_PIN -1
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// LCD / Controller
|
// LCD / Controller
|
||||||
|
@ -120,9 +119,7 @@
|
||||||
|
|
||||||
// Disable encoder
|
// Disable encoder
|
||||||
#undef BTN_EN1
|
#undef BTN_EN1
|
||||||
#define BTN_EN1 -1
|
|
||||||
#undef BTN_EN2
|
#undef BTN_EN2
|
||||||
#define BTN_EN2 -1
|
|
||||||
|
|
||||||
#undef SD_DETECT_PIN
|
#undef SD_DETECT_PIN
|
||||||
#define SD_DETECT_PIN 22
|
#define SD_DETECT_PIN 22
|
||||||
|
|
Loading…
Reference in a new issue