Procházet zdrojové kódy

Merge pull request #3065 from thinkyhead/rc_doc_tweaks

Simplified endstop configuration
Scott Lahteine před 9 roky
rodič
revize
c045ec8cb3
38 změnil soubory, kde provedl 343 přidání a 125 odebrání
  1. 52
    3
      Marlin/Conditionals.h
  2. 14
    2
      Marlin/Configuration.h
  3. 1
    3
      Marlin/Configuration_adv.h
  4. 21
    4
      Marlin/SanityCheck.h
  5. 14
    2
      Marlin/example_configurations/Felix/Configuration.h
  6. 14
    2
      Marlin/example_configurations/Felix/Configuration_DUAL.h
  7. 1
    3
      Marlin/example_configurations/Felix/Configuration_adv.h
  8. 14
    2
      Marlin/example_configurations/Hephestos/Configuration.h
  9. 1
    3
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  10. 1
    3
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  11. 14
    2
      Marlin/example_configurations/K8200/Configuration.h
  12. 1
    3
      Marlin/example_configurations/K8200/Configuration_adv.h
  13. 14
    2
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  14. 14
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  15. 1
    3
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  16. 14
    2
      Marlin/example_configurations/SCARA/Configuration.h
  17. 1
    3
      Marlin/example_configurations/SCARA/Configuration_adv.h
  18. 14
    2
      Marlin/example_configurations/TAZ4/Configuration.h
  19. 1
    3
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  20. 14
    2
      Marlin/example_configurations/WITBOX/Configuration.h
  21. 1
    3
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  22. 14
    2
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  23. 14
    2
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  24. 1
    3
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  25. 14
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  26. 1
    3
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  27. 14
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  28. 1
    3
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  29. 14
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  30. 1
    3
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  31. 1
    3
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  32. 14
    2
      Marlin/example_configurations/makibox/Configuration.h
  33. 1
    3
      Marlin/example_configurations/makibox/Configuration_adv.h
  34. 14
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  35. 1
    3
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  36. 2
    2
      Marlin/macros.h
  37. 14
    32
      Marlin/pins.h
  38. 0
    2
      Marlin/pins_FELIX2.h

+ 52
- 3
Marlin/Conditionals.h Zobrazit soubor

275
   #include "Arduino.h"
275
   #include "Arduino.h"
276
 
276
 
277
   /**
277
   /**
278
-   * ENDSTOPPULLUPS
278
+   * Set ENDSTOPPULLUPS for unused endstop switches
279
    */
279
    */
280
   #if ENABLED(ENDSTOPPULLUPS)
280
   #if ENABLED(ENDSTOPPULLUPS)
281
-    #if DISABLED(DISABLE_MAX_ENDSTOPS)
281
+    #if DISABLED(USE_XMAX_PLUG)
282
       #define ENDSTOPPULLUP_XMAX
282
       #define ENDSTOPPULLUP_XMAX
283
+    #endif
284
+    #if DISABLED(USE_YMAX_PLUG)
283
       #define ENDSTOPPULLUP_YMAX
285
       #define ENDSTOPPULLUP_YMAX
286
+    #endif
287
+    #if DISABLED(USE_ZMAX_PLUG)
284
       #define ENDSTOPPULLUP_ZMAX
288
       #define ENDSTOPPULLUP_ZMAX
285
     #endif
289
     #endif
286
-    #if DISABLED(DISABLE_MIN_ENDSTOPS)
290
+    #if DISABLED(USE_XMIN_PLUG)
287
       #define ENDSTOPPULLUP_XMIN
291
       #define ENDSTOPPULLUP_XMIN
292
+    #endif
293
+    #if DISABLED(USE_YMIN_PLUG)
288
       #define ENDSTOPPULLUP_YMIN
294
       #define ENDSTOPPULLUP_YMIN
295
+    #endif
296
+    #if DISABLED(USE_ZMIN_PLUG)
289
       #define ENDSTOPPULLUP_ZMIN
297
       #define ENDSTOPPULLUP_ZMIN
290
     #endif
298
     #endif
291
     #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
299
     #if DISABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)
504
   #define ARRAY_BY_EXTRUDERS1(v1) ARRAY_BY_EXTRUDERS(v1, v1, v1, v1)
512
   #define ARRAY_BY_EXTRUDERS1(v1) ARRAY_BY_EXTRUDERS(v1, v1, v1, v1)
505
 
513
 
506
   /**
514
   /**
515
+   * Z_DUAL_ENDSTOPS endstop reassignment
516
+   */
517
+  #if ENABLED(Z_DUAL_ENDSTOPS)
518
+    #define _XMIN_ 100
519
+    #define _YMIN_ 200
520
+    #define _ZMIN_ 300
521
+    #define _XMAX_ 101
522
+    #define _YMAX_ 201
523
+    #define _ZMAX_ 301
524
+    const bool Z2_MAX_ENDSTOP_INVERTING =
525
+      #if Z2_USE_ENDSTOP == _XMAX_
526
+        X_MAX_ENDSTOP_INVERTING
527
+        #define Z2_MAX_PIN X_MAX_PIN
528
+        #undef USE_XMAX_PLUG
529
+      #elif Z2_USE_ENDSTOP == _YMAX_
530
+        Y_MAX_ENDSTOP_INVERTING
531
+        #define Z2_MAX_PIN Y_MAX_PIN
532
+        #undef USE_YMAX_PLUG
533
+      #elif Z2_USE_ENDSTOP == _ZMAX_
534
+        Z_MAX_ENDSTOP_INVERTING
535
+        #define Z2_MAX_PIN Z_MAX_PIN
536
+        #undef USE_ZMAX_PLUG
537
+      #elif Z2_USE_ENDSTOP == _XMIN_
538
+        X_MIN_ENDSTOP_INVERTING
539
+        #define Z2_MAX_PIN X_MIN_PIN
540
+        #undef USE_XMIN_PLUG
541
+      #elif Z2_USE_ENDSTOP == _YMIN_
542
+        Y_MIN_ENDSTOP_INVERTING
543
+        #define Z2_MAX_PIN Y_MIN_PIN
544
+        #undef USE_YMIN_PLUG
545
+      #elif Z2_USE_ENDSTOP == _ZMIN_
546
+        Z_MIN_ENDSTOP_INVERTING
547
+        #define Z2_MAX_PIN Z_MIN_PIN
548
+        #undef USE_ZMIN_PLUG
549
+      #else
550
+        0
551
+      #endif
552
+    ;
553
+  #endif
554
+
555
+  /**
507
    * Shorthand for pin tests, used wherever needed
556
    * Shorthand for pin tests, used wherever needed
508
    */
557
    */
509
   #define HAS_TEMP_0 (PIN_EXISTS(TEMP_0) && TEMP_SENSOR_0 != 0 && TEMP_SENSOR_0 > -2)
558
   #define HAS_TEMP_0 (PIN_EXISTS(TEMP_0) && TEMP_SENSOR_0 != 0 && TEMP_SENSOR_0 > -2)

+ 14
- 2
Marlin/Configuration.h Zobrazit soubor

346
 // Enable this option for Toshiba steppers
346
 // Enable this option for Toshiba steppers
347
 //#define CONFIG_STEPPERS_TOSHIBA
347
 //#define CONFIG_STEPPERS_TOSHIBA
348
 
348
 
349
+//===========================================================================
350
+//============================== Endstop Settings ===========================
351
+//===========================================================================
352
+
349
 // @section homing
353
 // @section homing
350
 
354
 
355
+// Specify here all the endstop connectors that are connected to any endstop or probe.
356
+// Almost all printers will be using one per axis. Probes will use one or more of the
357
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
358
+#define USE_XMIN_PLUG
359
+#define USE_YMIN_PLUG
360
+#define USE_ZMIN_PLUG
361
+//#define USE_XMAX_PLUG
362
+//#define USE_YMAX_PLUG
363
+//#define USE_ZMAX_PLUG
364
+
351
 // coarse Endstop Settings
365
 // coarse Endstop Settings
352
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
366
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
353
 
367
 
370
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
384
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
371
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
385
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
372
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
386
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
-//#define DISABLE_MAX_ENDSTOPS
374
-//#define DISABLE_MIN_ENDSTOPS
375
 
387
 
376
 //===========================================================================
388
 //===========================================================================
377
 //============================= Z Probe Options =============================
389
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 21
- 4
Marlin/SanityCheck.h Zobrazit soubor

420
 #endif
420
 #endif
421
 
421
 
422
 /**
422
 /**
423
+ * Endstops
424
+ */
425
+#if DISABLED(USE_XMIN_PLUG) && DISABLED(USE_XMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _XMAX_ && Z2_USE_ENDSTOP <= _XMIN_)
426
+ #error You must enable USE_XMIN_PLUG or USE_XMAX_PLUG
427
+#elif DISABLED(USE_YMIN_PLUG) && DISABLED(USE_YMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _YMAX_ && Z2_USE_ENDSTOP <= _YMIN_)
428
+ #error You must enable USE_YMIN_PLUG or USE_YMAX_PLUG
429
+#elif DISABLED(USE_ZMIN_PLUG) && DISABLED(USE_ZMAX_PLUG) && !(ENABLED(Z_DUAL_ENDSTOPS) && Z2_USE_ENDSTOP >= _ZMAX_ && Z2_USE_ENDSTOP <= _ZMIN_)
430
+ #error You must enable USE_ZMIN_PLUG or USE_ZMAX_PLUG
431
+#elif ENABLED(Z_DUAL_ENDSTOPS) && !Z2_USE_ENDSTOP
432
+ #error You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS
433
+#endif
434
+
435
+/**
423
  * Warnings for old configurations
436
  * Warnings for old configurations
424
  */
437
  */
425
 #if WATCH_TEMP_PERIOD > 500
438
 #if WATCH_TEMP_PERIOD > 500
445
 #elif defined(CUSTOM_MENDEL_NAME)
458
 #elif defined(CUSTOM_MENDEL_NAME)
446
   #error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
459
   #error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
447
 #elif defined(HAS_AUTOMATIC_VERSIONING)
460
 #elif defined(HAS_AUTOMATIC_VERSIONING)
448
-  #error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
461
+  #error HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING. Please update your configuration.
449
 #elif defined(ENABLE_AUTO_BED_LEVELING)
462
 #elif defined(ENABLE_AUTO_BED_LEVELING)
450
-  #error ENABLE_AUTO_BED_LEVELING deprecated - use AUTO_BED_LEVELING_FEATURE instead
463
+  #error ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE. Please update your configuration.
451
 #elif defined(SDSLOW)
464
 #elif defined(SDSLOW)
452
-  #error SDSLOW deprecated - set SPI_SPEED to SPI_HALF_SPEED instead
465
+  #error SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead.
453
 #elif defined(SDEXTRASLOW)
466
 #elif defined(SDEXTRASLOW)
454
-  #error SDEXTRASLOW deprecated - set SPI_SPEED to SPI_QUARTER_SPEED instead
467
+  #error SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead.
455
 #elif defined(Z_RAISE_BEFORE_HOMING)
468
 #elif defined(Z_RAISE_BEFORE_HOMING)
456
   #error Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead.
469
   #error Z_RAISE_BEFORE_HOMING is deprecated. Use MIN_Z_HEIGHT_FOR_HOMING instead.
457
 #elif defined(FILAMENT_SENSOR)
470
 #elif defined(FILAMENT_SENSOR)
458
   #error FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead.
471
   #error FILAMENT_SENSOR is deprecated. Use FILAMENT_WIDTH_SENSOR instead.
472
+#elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
473
+  #error DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead.
474
+#elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
475
+  #error Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2
459
 #endif
476
 #endif
460
 
477
 
461
 #endif //SANITYCHECK_H
478
 #endif //SANITYCHECK_H

+ 14
- 2
Marlin/example_configurations/Felix/Configuration.h Zobrazit soubor

328
 // Enable this option for Toshiba steppers
328
 // Enable this option for Toshiba steppers
329
 //#define CONFIG_STEPPERS_TOSHIBA
329
 //#define CONFIG_STEPPERS_TOSHIBA
330
 
330
 
331
+//===========================================================================
332
+//============================== Endstop Settings ===========================
333
+//===========================================================================
334
+
331
 // @section homing
335
 // @section homing
332
 
336
 
337
+// Specify here all the endstop connectors that are connected to any endstop or probe.
338
+// Almost all printers will be using one per axis. Probes will use one or more of the
339
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
340
+#define USE_XMIN_PLUG
341
+#define USE_YMIN_PLUG
342
+#define USE_ZMIN_PLUG
343
+//#define USE_XMAX_PLUG
344
+//#define USE_YMAX_PLUG
345
+//#define USE_ZMAX_PLUG
346
+
333
 // coarse Endstop Settings
347
 // coarse Endstop Settings
334
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
348
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
335
 
349
 
352
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
366
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
353
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
367
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
354
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
368
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
355
-#define DISABLE_MAX_ENDSTOPS
356
-//#define DISABLE_MIN_ENDSTOPS
357
 
369
 
358
 //===========================================================================
370
 //===========================================================================
359
 //============================= Z Probe Options =============================
371
 //============================= Z Probe Options =============================

+ 14
- 2
Marlin/example_configurations/Felix/Configuration_DUAL.h Zobrazit soubor

325
 // Enable this option for Toshiba steppers
325
 // Enable this option for Toshiba steppers
326
 //#define CONFIG_STEPPERS_TOSHIBA
326
 //#define CONFIG_STEPPERS_TOSHIBA
327
 
327
 
328
+//===========================================================================
329
+//============================== Endstop Settings ===========================
330
+//===========================================================================
331
+
328
 // @section homing
332
 // @section homing
329
 
333
 
334
+// Specify here all the endstop connectors that are connected to any endstop or probe.
335
+// Almost all printers will be using one per axis. Probes will use one or more of the
336
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
337
+#define USE_XMIN_PLUG
338
+#define USE_YMIN_PLUG
339
+#define USE_ZMIN_PLUG
340
+//#define USE_XMAX_PLUG
341
+//#define USE_YMAX_PLUG
342
+//#define USE_ZMAX_PLUG
343
+
330
 // coarse Endstop Settings
344
 // coarse Endstop Settings
331
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
345
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
332
 
346
 
349
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
363
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
350
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
364
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
351
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
365
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
352
-#define DISABLE_MAX_ENDSTOPS
353
-//#define DISABLE_MIN_ENDSTOPS
354
 
366
 
355
 //===========================================================================
367
 //===========================================================================
356
 //============================= Z Probe Options =============================
368
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/Felix/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/Hephestos/Configuration.h Zobrazit soubor

338
 // Enable this option for Toshiba steppers
338
 // Enable this option for Toshiba steppers
339
 //#define CONFIG_STEPPERS_TOSHIBA
339
 //#define CONFIG_STEPPERS_TOSHIBA
340
 
340
 
341
+//===========================================================================
342
+//============================== Endstop Settings ===========================
343
+//===========================================================================
344
+
341
 // @section homing
345
 // @section homing
342
 
346
 
347
+// Specify here all the endstop connectors that are connected to any endstop or probe.
348
+// Almost all printers will be using one per axis. Probes will use one or more of the
349
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
350
+#define USE_XMIN_PLUG
351
+#define USE_YMIN_PLUG
352
+#define USE_ZMIN_PLUG
353
+//#define USE_XMAX_PLUG
354
+//#define USE_YMAX_PLUG
355
+//#define USE_ZMAX_PLUG
356
+
343
 // coarse Endstop Settings
357
 // coarse Endstop Settings
344
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
358
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
345
 
359
 
362
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
376
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
363
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
377
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
364
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
378
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
365
-#define DISABLE_MAX_ENDSTOPS
366
-//#define DISABLE_MIN_ENDSTOPS
367
 
379
 
368
 //===========================================================================
380
 //===========================================================================
369
 //============================= Z Probe Options =============================
381
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/Hephestos/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 1
- 3
Marlin/example_configurations/Hephestos_2/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/K8200/Configuration.h Zobrazit soubor

363
 // Enable this option for Toshiba steppers
363
 // Enable this option for Toshiba steppers
364
 //#define CONFIG_STEPPERS_TOSHIBA
364
 //#define CONFIG_STEPPERS_TOSHIBA
365
 
365
 
366
+//===========================================================================
367
+//============================== Endstop Settings ===========================
368
+//===========================================================================
369
+
366
 // @section homing
370
 // @section homing
367
 
371
 
372
+// Specify here all the endstop connectors that are connected to any endstop or probe.
373
+// Almost all printers will be using one per axis. Probes will use one or more of the
374
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
375
+#define USE_XMIN_PLUG
376
+#define USE_YMIN_PLUG
377
+#define USE_ZMIN_PLUG
378
+//#define USE_XMAX_PLUG
379
+//#define USE_YMAX_PLUG
380
+//#define USE_ZMAX_PLUG
381
+
368
 // coarse Endstop Settings
382
 // coarse Endstop Settings
369
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
383
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
370
 
384
 
387
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
401
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
388
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
402
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
389
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
403
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
390
-#define DISABLE_MAX_ENDSTOPS
391
-//#define DISABLE_MIN_ENDSTOPS
392
 
404
 
393
 //===========================================================================
405
 //===========================================================================
394
 //============================= Z Probe Options =============================
406
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/K8200/Configuration_adv.h Zobrazit soubor

207
   //#define Z_DUAL_ENDSTOPS
207
   //#define Z_DUAL_ENDSTOPS
208
 
208
 
209
   #if ENABLED(Z_DUAL_ENDSTOPS)
209
   #if ENABLED(Z_DUAL_ENDSTOPS)
210
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
211
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
212
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
210
+    #define Z2_USE_ENDSTOP _XMAX_
213
   #endif
211
   #endif
214
 
212
 
215
 #endif // Z_DUAL_STEPPER_DRIVERS
213
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Zobrazit soubor

346
 // Enable this option for Toshiba steppers
346
 // Enable this option for Toshiba steppers
347
 //#define CONFIG_STEPPERS_TOSHIBA
347
 //#define CONFIG_STEPPERS_TOSHIBA
348
 
348
 
349
+//===========================================================================
350
+//============================== Endstop Settings ===========================
351
+//===========================================================================
352
+
349
 // @section homing
353
 // @section homing
350
 
354
 
355
+// Specify here all the endstop connectors that are connected to any endstop or probe.
356
+// Almost all printers will be using one per axis. Probes will use one or more of the
357
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
358
+#define USE_XMIN_PLUG
359
+#define USE_YMIN_PLUG
360
+#define USE_ZMIN_PLUG
361
+//#define USE_XMAX_PLUG
362
+//#define USE_YMAX_PLUG
363
+//#define USE_ZMAX_PLUG
364
+
351
 // coarse Endstop Settings
365
 // coarse Endstop Settings
352
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
366
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
353
 
367
 
370
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
384
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
371
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
385
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
372
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
386
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
-//#define DISABLE_MAX_ENDSTOPS
374
-//#define DISABLE_MIN_ENDSTOPS
375
 
387
 
376
 //===========================================================================
388
 //===========================================================================
377
 //============================= Z Probe Options =============================
389
 //============================= Z Probe Options =============================

+ 14
- 2
Marlin/example_configurations/RigidBot/Configuration.h Zobrazit soubor

340
 // Enable this option for Toshiba steppers
340
 // Enable this option for Toshiba steppers
341
 //#define CONFIG_STEPPERS_TOSHIBA
341
 //#define CONFIG_STEPPERS_TOSHIBA
342
 
342
 
343
+//===========================================================================
344
+//============================== Endstop Settings ===========================
345
+//===========================================================================
346
+
343
 // @section homing
347
 // @section homing
344
 
348
 
349
+// Specify here all the endstop connectors that are connected to any endstop or probe.
350
+// Almost all printers will be using one per axis. Probes will use one or more of the
351
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
352
+#define USE_XMIN_PLUG
353
+#define USE_YMIN_PLUG
354
+#define USE_ZMIN_PLUG
355
+//#define USE_XMAX_PLUG
356
+//#define USE_YMAX_PLUG
357
+//#define USE_ZMAX_PLUG
358
+
345
 // coarse Endstop Settings
359
 // coarse Endstop Settings
346
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
360
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
347
 
361
 
364
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
378
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
365
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
379
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
366
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
380
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
367
-//#define DISABLE_MAX_ENDSTOPS
368
-//#define DISABLE_MIN_ENDSTOPS
369
 
381
 
370
 //===========================================================================
382
 //===========================================================================
371
 //============================= Z Probe Options =============================
383
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/RigidBot/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/SCARA/Configuration.h Zobrazit soubor

354
 // Enable this option for Toshiba steppers
354
 // Enable this option for Toshiba steppers
355
 //#define CONFIG_STEPPERS_TOSHIBA
355
 //#define CONFIG_STEPPERS_TOSHIBA
356
 
356
 
357
+//===========================================================================
358
+//============================== Endstop Settings ===========================
359
+//===========================================================================
360
+
357
 // @section homing
361
 // @section homing
358
 
362
 
363
+// Specify here all the endstop connectors that are connected to any endstop or probe.
364
+// Almost all printers will be using one per axis. Probes will use one or more of the
365
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
366
+#define USE_XMIN_PLUG
367
+#define USE_YMIN_PLUG
368
+//#define USE_ZMIN_PLUG
369
+//#define USE_XMAX_PLUG
370
+//#define USE_YMAX_PLUG
371
+#define USE_ZMAX_PLUG
372
+
359
 // coarse Endstop Settings
373
 // coarse Endstop Settings
360
 //#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
374
 //#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
361
 
375
 
378
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
392
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
379
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
393
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
380
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
394
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
381
-//#define DISABLE_MAX_ENDSTOPS
382
-//#define DISABLE_MIN_ENDSTOPS
383
 
395
 
384
 //===========================================================================
396
 //===========================================================================
385
 //============================= Z Probe Options =============================
397
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/SCARA/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/TAZ4/Configuration.h Zobrazit soubor

367
 // Enable this option for Toshiba steppers
367
 // Enable this option for Toshiba steppers
368
 //#define CONFIG_STEPPERS_TOSHIBA
368
 //#define CONFIG_STEPPERS_TOSHIBA
369
 
369
 
370
+//===========================================================================
371
+//============================== Endstop Settings ===========================
372
+//===========================================================================
373
+
370
 // @section homing
374
 // @section homing
371
 
375
 
376
+// Specify here all the endstop connectors that are connected to any endstop or probe.
377
+// Almost all printers will be using one per axis. Probes will use one or more of the
378
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
379
+#define USE_XMIN_PLUG
380
+#define USE_YMIN_PLUG
381
+#define USE_ZMIN_PLUG
382
+//#define USE_XMAX_PLUG
383
+//#define USE_YMAX_PLUG
384
+//#define USE_ZMAX_PLUG
385
+
372
 // coarse Endstop Settings
386
 // coarse Endstop Settings
373
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
387
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
374
 
388
 
391
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
405
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
392
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
406
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
393
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
407
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
394
-#define DISABLE_MAX_ENDSTOPS
395
-//#define DISABLE_MIN_ENDSTOPS
396
 
408
 
397
 //===========================================================================
409
 //===========================================================================
398
 //============================= Z Probe Options =============================
410
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/TAZ4/Configuration_adv.h Zobrazit soubor

209
   //#define Z_DUAL_ENDSTOPS
209
   //#define Z_DUAL_ENDSTOPS
210
 
210
 
211
   #if ENABLED(Z_DUAL_ENDSTOPS)
211
   #if ENABLED(Z_DUAL_ENDSTOPS)
212
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
213
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
214
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
212
+    #define Z2_USE_ENDSTOP _XMAX_
215
   #endif
213
   #endif
216
 
214
 
217
 #endif // Z_DUAL_STEPPER_DRIVERS
215
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/WITBOX/Configuration.h Zobrazit soubor

338
 // Enable this option for Toshiba steppers
338
 // Enable this option for Toshiba steppers
339
 //#define CONFIG_STEPPERS_TOSHIBA
339
 //#define CONFIG_STEPPERS_TOSHIBA
340
 
340
 
341
+//===========================================================================
342
+//============================== Endstop Settings ===========================
343
+//===========================================================================
344
+
341
 // @section homing
345
 // @section homing
342
 
346
 
347
+// Specify here all the endstop connectors that are connected to any endstop or probe.
348
+// Almost all printers will be using one per axis. Probes will use one or more of the
349
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
350
+#define USE_XMIN_PLUG
351
+#define USE_YMIN_PLUG
352
+#define USE_ZMIN_PLUG
353
+//#define USE_XMAX_PLUG
354
+//#define USE_YMAX_PLUG
355
+//#define USE_ZMAX_PLUG
356
+
343
 // coarse Endstop Settings
357
 // coarse Endstop Settings
344
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
358
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
345
 
359
 
362
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
376
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
363
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
377
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
364
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
378
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
365
-//#define DISABLE_MAX_ENDSTOPS
366
-//#define DISABLE_MIN_ENDSTOPS
367
 
379
 
368
 //===========================================================================
380
 //===========================================================================
369
 //============================= Z Probe Options =============================
381
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/WITBOX/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/adafruit/ST7565/Configuration.h Zobrazit soubor

346
 // Enable this option for Toshiba steppers
346
 // Enable this option for Toshiba steppers
347
 //#define CONFIG_STEPPERS_TOSHIBA
347
 //#define CONFIG_STEPPERS_TOSHIBA
348
 
348
 
349
+//===========================================================================
350
+//============================== Endstop Settings ===========================
351
+//===========================================================================
352
+
349
 // @section homing
353
 // @section homing
350
 
354
 
355
+// Specify here all the endstop connectors that are connected to any endstop or probe.
356
+// Almost all printers will be using one per axis. Probes will use one or more of the
357
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
358
+#define USE_XMIN_PLUG
359
+#define USE_YMIN_PLUG
360
+#define USE_ZMIN_PLUG
361
+//#define USE_XMAX_PLUG
362
+//#define USE_YMAX_PLUG
363
+//#define USE_ZMAX_PLUG
364
+
351
 // coarse Endstop Settings
365
 // coarse Endstop Settings
352
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
366
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
353
 
367
 
370
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
384
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
371
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
385
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
372
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
386
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
373
-//#define DISABLE_MAX_ENDSTOPS
374
-//#define DISABLE_MIN_ENDSTOPS
375
 
387
 
376
 //===========================================================================
388
 //===========================================================================
377
 //============================= Z Probe Options =============================
389
 //============================= Z Probe Options =============================

+ 14
- 2
Marlin/example_configurations/delta/biv2.5/Configuration.h Zobrazit soubor

381
 // Enable this option for Toshiba steppers
381
 // Enable this option for Toshiba steppers
382
 //#define CONFIG_STEPPERS_TOSHIBA
382
 //#define CONFIG_STEPPERS_TOSHIBA
383
 
383
 
384
+//===========================================================================
385
+//============================== Endstop Settings ===========================
386
+//===========================================================================
387
+
384
 // @section homing
388
 // @section homing
385
 
389
 
390
+// Specify here all the endstop connectors that are connected to any endstop or probe.
391
+// Almost all printers will be using one per axis. Probes will use one or more of the
392
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
393
+//#define USE_XMIN_PLUG
394
+//#define USE_YMIN_PLUG
395
+//#define USE_ZMIN_PLUG
396
+#define USE_XMAX_PLUG
397
+#define USE_YMAX_PLUG
398
+#define USE_ZMAX_PLUG
399
+
386
 // coarse Endstop Settings
400
 // coarse Endstop Settings
387
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
401
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
388
 
402
 
405
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
419
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
406
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
420
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
407
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
421
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
408
-//#define DISABLE_MAX_ENDSTOPS
409
-#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing.
410
 
422
 
411
 //===========================================================================
423
 //===========================================================================
412
 //============================= Z Probe Options =============================
424
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/delta/generic/Configuration.h Zobrazit soubor

381
 // Enable this option for Toshiba steppers
381
 // Enable this option for Toshiba steppers
382
 //#define CONFIG_STEPPERS_TOSHIBA
382
 //#define CONFIG_STEPPERS_TOSHIBA
383
 
383
 
384
+//===========================================================================
385
+//============================== Endstop Settings ===========================
386
+//===========================================================================
387
+
384
 // @section homing
388
 // @section homing
385
 
389
 
390
+// Specify here all the endstop connectors that are connected to any endstop or probe.
391
+// Almost all printers will be using one per axis. Probes will use one or more of the
392
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
393
+//#define USE_XMIN_PLUG
394
+//#define USE_YMIN_PLUG
395
+#define USE_ZMIN_PLUG // a Z probe
396
+#define USE_XMAX_PLUG
397
+#define USE_YMAX_PLUG
398
+#define USE_ZMAX_PLUG
399
+
386
 // coarse Endstop Settings
400
 // coarse Endstop Settings
387
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
401
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
388
 
402
 
405
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
419
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
406
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
420
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
407
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
421
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
408
-//#define DISABLE_MAX_ENDSTOPS
409
-#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing.
410
 
422
 
411
 //===========================================================================
423
 //===========================================================================
412
 //============================= Z Probe Options =============================
424
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/delta/generic/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h Zobrazit soubor

381
 // Enable this option for Toshiba steppers
381
 // Enable this option for Toshiba steppers
382
 //#define CONFIG_STEPPERS_TOSHIBA
382
 //#define CONFIG_STEPPERS_TOSHIBA
383
 
383
 
384
+//===========================================================================
385
+//============================== Endstop Settings ===========================
386
+//===========================================================================
387
+
384
 // @section homing
388
 // @section homing
385
 
389
 
390
+// Specify here all the endstop connectors that are connected to any endstop or probe.
391
+// Almost all printers will be using one per axis. Probes will use one or more of the
392
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
393
+//#define USE_XMIN_PLUG
394
+//#define USE_YMIN_PLUG
395
+//#define USE_ZMIN_PLUG
396
+#define USE_XMAX_PLUG
397
+#define USE_YMAX_PLUG
398
+#define USE_ZMAX_PLUG
399
+
386
 // coarse Endstop Settings
400
 // coarse Endstop Settings
387
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
401
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
388
 
402
 
405
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
419
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
406
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
420
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
407
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
421
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
408
-//#define DISABLE_MAX_ENDSTOPS
409
-//#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing.
410
 
422
 
411
 //===========================================================================
423
 //===========================================================================
412
 //============================= Z Probe Options =============================
424
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h Zobrazit soubor

370
 // Enable this option for Toshiba steppers
370
 // Enable this option for Toshiba steppers
371
 //#define CONFIG_STEPPERS_TOSHIBA
371
 //#define CONFIG_STEPPERS_TOSHIBA
372
 
372
 
373
+//===========================================================================
374
+//============================== Endstop Settings ===========================
375
+//===========================================================================
376
+
373
 // @section homing
377
 // @section homing
374
 
378
 
379
+// Specify here all the endstop connectors that are connected to any endstop or probe.
380
+// Almost all printers will be using one per axis. Probes will use one or more of the
381
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
382
+//#define USE_XMIN_PLUG
383
+//#define USE_YMIN_PLUG
384
+#define USE_ZMIN_PLUG // a Z probe
385
+#define USE_XMAX_PLUG
386
+#define USE_YMAX_PLUG
387
+#define USE_ZMAX_PLUG
388
+
375
 // coarse Endstop Settings
389
 // coarse Endstop Settings
376
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
390
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
377
 
391
 
394
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
408
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
395
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
409
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
396
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
410
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
397
-//#define DISABLE_MAX_ENDSTOPS
398
-//#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing.
399
 
411
 
400
 //===========================================================================
412
 //===========================================================================
401
 //============================= Z Probe Options =============================
413
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Zobrazit soubor

206
   //#define Z_DUAL_ENDSTOPS
206
   //#define Z_DUAL_ENDSTOPS
207
 
207
 
208
   #if ENABLED(Z_DUAL_ENDSTOPS)
208
   #if ENABLED(Z_DUAL_ENDSTOPS)
209
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
210
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
211
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
209
+    #define Z2_USE_ENDSTOP _XMAX_
212
   #endif
210
   #endif
213
 
211
 
214
 #endif // Z_DUAL_STEPPER_DRIVERS
212
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 1
- 3
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/makibox/Configuration.h Zobrazit soubor

349
 // Enable this option for Toshiba steppers
349
 // Enable this option for Toshiba steppers
350
 //#define CONFIG_STEPPERS_TOSHIBA
350
 //#define CONFIG_STEPPERS_TOSHIBA
351
 
351
 
352
+//===========================================================================
353
+//============================== Endstop Settings ===========================
354
+//===========================================================================
355
+
352
 // @section homing
356
 // @section homing
353
 
357
 
358
+// Specify here all the endstop connectors that are connected to any endstop or probe.
359
+// Almost all printers will be using one per axis. Probes will use one or more of the
360
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
361
+#define USE_XMIN_PLUG
362
+#define USE_YMIN_PLUG
363
+#define USE_ZMIN_PLUG
364
+//#define USE_XMAX_PLUG
365
+//#define USE_YMAX_PLUG
366
+//#define USE_ZMAX_PLUG
367
+
354
 // coarse Endstop Settings
368
 // coarse Endstop Settings
355
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
369
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
356
 
370
 
373
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
387
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
374
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
388
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
375
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
389
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
376
-//#define DISABLE_MAX_ENDSTOPS
377
-//#define DISABLE_MIN_ENDSTOPS
378
 
390
 
379
 //===========================================================================
391
 //===========================================================================
380
 //============================= Z Probe Options =============================
392
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/makibox/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 14
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration.h Zobrazit soubor

336
 // Enable this option for Toshiba steppers
336
 // Enable this option for Toshiba steppers
337
 #define CONFIG_STEPPERS_TOSHIBA
337
 #define CONFIG_STEPPERS_TOSHIBA
338
 
338
 
339
+//===========================================================================
340
+//============================== Endstop Settings ===========================
341
+//===========================================================================
342
+
339
 // @section homing
343
 // @section homing
340
 
344
 
345
+// Specify here all the endstop connectors that are connected to any endstop or probe.
346
+// Almost all printers will be using one per axis. Probes will use one or more of the
347
+// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
348
+#define USE_XMIN_PLUG
349
+#define USE_YMIN_PLUG
350
+#define USE_ZMIN_PLUG
351
+//#define USE_XMAX_PLUG
352
+//#define USE_YMAX_PLUG
353
+//#define USE_ZMAX_PLUG
354
+
341
 // coarse Endstop Settings
355
 // coarse Endstop Settings
342
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
356
 #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
343
 
357
 
360
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
374
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
361
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
375
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
362
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
376
 const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
363
-//#define DISABLE_MAX_ENDSTOPS
364
-//#define DISABLE_MIN_ENDSTOPS
365
 
377
 
366
 //===========================================================================
378
 //===========================================================================
367
 //============================= Z Probe Options =============================
379
 //============================= Z Probe Options =============================

+ 1
- 3
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Zobrazit soubor

201
   //#define Z_DUAL_ENDSTOPS
201
   //#define Z_DUAL_ENDSTOPS
202
 
202
 
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
203
   #if ENABLED(Z_DUAL_ENDSTOPS)
204
-    #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)
205
-    const bool Z2_MAX_ENDSTOP_INVERTING = false;
206
-    #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.
204
+    #define Z2_USE_ENDSTOP _XMAX_
207
   #endif
205
   #endif
208
 
206
 
209
 #endif // Z_DUAL_STEPPER_DRIVERS
207
 #endif // Z_DUAL_STEPPER_DRIVERS

+ 2
- 2
Marlin/macros.h Zobrazit soubor

24
 #define MACROS_H
24
 #define MACROS_H
25
 
25
 
26
 // Macros to make a string from a macro
26
 // Macros to make a string from a macro
27
-#define STRINGIFY_(n) #n
28
-#define STRINGIFY(n) STRINGIFY_(n)
27
+#define STRINGIFY_(M) #M
28
+#define STRINGIFY(M) STRINGIFY_(M)
29
 
29
 
30
 // Macros for bit masks
30
 // Macros for bit masks
31
 #define TEST(n,b) (((n)&_BV(b))!=0)
31
 #define TEST(n,b) (((n)&_BV(b))!=0)

+ 14
- 32
Marlin/pins.h Zobrazit soubor

209
   #endif
209
   #endif
210
 #endif
210
 #endif
211
 
211
 
212
-#if ENABLED(DISABLE_MAX_ENDSTOPS)
213
-  #undef X_MAX_PIN
214
-  #undef Y_MAX_PIN
215
-  #undef Z_MAX_PIN
216
-  #define X_MAX_PIN          -1
217
-  #define Y_MAX_PIN          -1
218
-  #define Z_MAX_PIN          -1
219
-#endif
220
-
221
-#if ENABLED(DISABLE_MIN_ENDSTOPS)
222
-  #undef X_MIN_PIN
223
-  #undef Y_MIN_PIN
224
-  #undef Z_MIN_PIN
225
-  #define X_MIN_PIN          -1
226
-  #define Y_MIN_PIN          -1
227
-  #define Z_MIN_PIN          -1
228
-#endif
229
-
230
 #if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting.
212
 #if ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP) || DISABLED(Z_MIN_PROBE_ENDSTOP) // Allow code to compile regardless of Z_MIN_PROBE_ENDSTOP setting.
231
   #undef Z_MIN_PROBE_PIN
213
   #undef Z_MIN_PROBE_PIN
232
   #define Z_MIN_PROBE_PIN    -1
214
   #define Z_MIN_PROBE_PIN    -1
233
 #endif
215
 #endif
234
 
216
 
235
-#if ENABLED(DISABLE_XMAX_ENDSTOP)
217
+#if DISABLED(USE_XMAX_PLUG)
236
   #undef X_MAX_PIN
218
   #undef X_MAX_PIN
237
   #define X_MAX_PIN          -1
219
   #define X_MAX_PIN          -1
238
 #endif
220
 #endif
239
 
221
 
240
-#if ENABLED(DISABLE_XMIN_ENDSTOP)
241
-  #undef X_MIN_PIN
242
-  #define X_MIN_PIN          -1
243
-#endif
244
-
245
-#if ENABLED(DISABLE_YMAX_ENDSTOP)
222
+#if DISABLED(USE_YMAX_PLUG)
246
   #undef Y_MAX_PIN
223
   #undef Y_MAX_PIN
247
   #define Y_MAX_PIN          -1
224
   #define Y_MAX_PIN          -1
248
 #endif
225
 #endif
249
 
226
 
250
-#if ENABLED(DISABLE_YMIN_ENDSTOP)
251
-  #undef Y_MIN_PIN
252
-  #define Y_MIN_PIN          -1
253
-#endif
254
-
255
-#if ENABLED(DISABLE_ZMAX_ENDSTOP)
227
+#if DISABLED(USE_ZMAX_PLUG)
256
   #undef Z_MAX_PIN
228
   #undef Z_MAX_PIN
257
   #define Z_MAX_PIN          -1
229
   #define Z_MAX_PIN          -1
258
 #endif
230
 #endif
259
 
231
 
260
-#if ENABLED(DISABLE_ZMIN_ENDSTOP)
232
+#if DISABLED(USE_XMIN_PLUG)
233
+  #undef X_MIN_PIN
234
+  #define X_MIN_PIN          -1
235
+#endif
236
+
237
+#if DISABLED(USE_YMIN_PLUG)
238
+  #undef Y_MIN_PIN
239
+  #define Y_MIN_PIN          -1
240
+#endif
241
+
242
+#if DISABLED(USE_ZMIN_PLUG)
261
   #undef Z_MIN_PIN
243
   #undef Z_MIN_PIN
262
   #define Z_MIN_PIN          -1
244
   #define Z_MIN_PIN          -1
263
 #endif
245
 #endif

+ 0
- 2
Marlin/pins_FELIX2.h Zobrazit soubor

29
 #undef HEATER_1_PIN
29
 #undef HEATER_1_PIN
30
 #define HEATER_1_PIN        7 // EXTRUDER 2
30
 #define HEATER_1_PIN        7 // EXTRUDER 2
31
 
31
 
32
-#define DISABLE_MAX_ENDSTOPS
33
-
34
 #undef SDPOWER
32
 #undef SDPOWER
35
 #define SDPOWER             1
33
 #define SDPOWER             1
36
 
34
 

Loading…
Zrušit
Uložit