Browse Source

Merge pull request #5762 from Bob-the-Kuhn/Z_DUAL_ENDSTOP-make-offset-a-configuration-item

Z_DUAL_ENDSTOPS -  make offset a configuration item
pull/1/head
Bob-the-Kuhn 8 years ago
committed by GitHub
parent
commit
f87012a063
  1. 1
      Marlin/Configuration_adv.h
  2. 6
      Marlin/configuration_store.cpp
  3. 1
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  4. 1
      Marlin/example_configurations/Felix/Configuration_adv.h
  5. 1
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  6. 1
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  7. 1
      Marlin/example_configurations/K8200/Configuration_adv.h
  8. 1
      Marlin/example_configurations/K8400/Configuration_adv.h
  9. 1
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  10. 1
      Marlin/example_configurations/SCARA/Configuration_adv.h
  11. 1
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  12. 1
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  13. 1
      Marlin/example_configurations/delta/flsun_kossel_mini/Configuration_adv.h
  14. 1
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  15. 1
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  16. 1
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  17. 1
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  18. 1
      Marlin/example_configurations/makibox/Configuration_adv.h
  19. 1
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

1
Marlin/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine/test this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

6
Marlin/configuration_store.cpp

@ -963,7 +963,11 @@ void Config_ResetDefault() {
COPY(delta_diagonal_rod_trim, drt);
COPY(delta_tower_angle_trim, dta);
#elif ENABLED(Z_DUAL_ENDSTOPS)
z_endstop_adj = 0;
#if defined(Z_DUAL_ENDSTOPS_ADJUSTMENT)
float z_endstop_adj = Z_DUAL_ENDSTOPS_ADJUSTMENT;
#else
float z_endstop_adj = 0;
#endif
#endif
#if ENABLED(ULTIPANEL)

1
Marlin/example_configurations/Cartesio/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/Felix/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/Hephestos/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/Hephestos_2/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/K8200/Configuration_adv.h

@ -298,6 +298,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/K8400/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/RigidBot/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/SCARA/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/TAZ4/Configuration_adv.h

@ -293,6 +293,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/WITBOX/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/delta/generic/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h

@ -290,6 +290,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/makibox/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

1
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS

Loading…
Cancel
Save