|
@@ -302,13 +302,18 @@ your extruder heater takes 2 minutes to hit the target on heating.
|
302
|
302
|
// Enable this option for Toshiba steppers
|
303
|
303
|
// #define CONFIG_STEPPERS_TOSHIBA
|
304
|
304
|
|
305
|
|
-// The pullups are needed if you directly connect a mechanical endstop between the signal and ground pins.
|
306
|
|
-#define ENDSTOPPULLUP_XMAX
|
307
|
|
-#define ENDSTOPPULLUP_YMAX
|
308
|
|
-#define ENDSTOPPULLUP_ZMAX
|
309
|
|
-#define ENDSTOPPULLUP_XMIN
|
310
|
|
-#define ENDSTOPPULLUP_YMIN
|
311
|
|
-#define ENDSTOPPULLUP_ZMIN
|
|
305
|
+// coarse Endstop Settings
|
|
306
|
+#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
|
307
|
+
|
|
308
|
+#ifndef ENDSTOPPULLUPS
|
|
309
|
+ // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
|
310
|
+ // #define ENDSTOPPULLUP_XMAX
|
|
311
|
+ // #define ENDSTOPPULLUP_YMAX
|
|
312
|
+ // #define ENDSTOPPULLUP_ZMAX
|
|
313
|
+ // #define ENDSTOPPULLUP_XMIN
|
|
314
|
+ // #define ENDSTOPPULLUP_YMIN
|
|
315
|
+ // #define ENDSTOPPULLUP_ZMIN
|
|
316
|
+#endif
|
312
|
317
|
|
313
|
318
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
314
|
319
|
const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
|