Browse Source

Made #ifdef DELTA branch instead

Another fellow here gave me the idea to do it this way
pull/1/head
Natealus 10 years ago
parent
commit
ca5821aa57
  1. 30
      Marlin/pins_AZTEEG_X3_PRO.h

30
Marlin/pins_AZTEEG_X3_PRO.h

@ -16,23 +16,23 @@
// //
//This section is to swap the MIN and MAX pins because the X3 Pro comes with only //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be //MIN endstops soldered onto the board. Delta code wants the homing endstops to be
//the MAX so I swapped them here. Comment them out with // if you want them original. //the MAX so I swapped them here.
//Note: I had to solder on the additional MAX Endstop pins to attach a Z-Probe
//endstop switch.
// //
//#undef X_MIN_PIN #ifdef DELTA
//#undef X_MAX_PIN #undef X_MIN_PIN
//#undef Y_MIN_PIN #undef X_MAX_PIN
//#undef Y_MAX_PIN #undef Y_MIN_PIN
//#undef Z_MIN_PIN #undef Y_MAX_PIN
//#undef Z_MAX_PIN #undef Z_MIN_PIN
#undef Z_MAX_PIN
//#define X_MIN_PIN 2 #define X_MIN_PIN 2
//#define X_MAX_PIN 3 #define X_MAX_PIN 3
//#define Y_MIN_PIN 15 #define Y_MIN_PIN 15
//#define Y_MAX_PIN 14 #define Y_MAX_PIN 14
//#define Z_MIN_PIN 19 #define Z_MIN_PIN 19
//#define Z_MAX_PIN 18 #define Z_MAX_PIN 18
#endif
// //
#define E2_STEP_PIN 23 #define E2_STEP_PIN 23

Loading…
Cancel
Save