🎨 Less use of undef for RAMPS pins
This commit is contained in:
@@ -29,6 +29,18 @@
|
||||
#define BOARD_INFO_NAME "RigidBoard"
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
// RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
|
||||
//
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 24
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
@@ -45,24 +57,6 @@
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
// RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
|
||||
#undef E0_STEP_PIN
|
||||
#undef E0_DIR_PIN
|
||||
#undef E0_ENABLE_PIN
|
||||
#define E0_STEP_PIN 36
|
||||
#define E0_DIR_PIN 34
|
||||
#define E0_ENABLE_PIN 30
|
||||
|
||||
#undef E1_STEP_PIN
|
||||
#undef E1_DIR_PIN
|
||||
#undef E1_ENABLE_PIN
|
||||
#define E1_STEP_PIN 26
|
||||
#define E1_DIR_PIN 28
|
||||
#define E1_ENABLE_PIN 24
|
||||
|
||||
#define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user