From 22a1ab8d7eee852bbaa3c5199b56dddf33bc99a2 Mon Sep 17 00:00:00 2001 From: Jens Hauser <44340656+JensHauser@users.noreply.github.com> Date: Tue, 29 Sep 2020 18:20:06 +0200 Subject: [PATCH] Fehler bei Limit_Mask --- Grbl_Esp32/Machines/4axis_xyxz.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Grbl_Esp32/Machines/4axis_xyxz.h b/Grbl_Esp32/Machines/4axis_xyxz.h index 07b32df2..25ee092f 100644 --- a/Grbl_Esp32/Machines/4axis_xyxz.h +++ b/Grbl_Esp32/Machines/4axis_xyxz.h @@ -13,7 +13,7 @@ // Beides ist eingerichtet. #define N_AXIS 3 -#define CUSTOM_CODE_FILENAME "Custom/4axis_xyxz.cpp" +//#define CUSTOM_CODE_FILENAME "Custom/4axis_xyxz.cpp" /* * Zuordnung Schrittmotoren @@ -43,18 +43,17 @@ * The 1 bits in LIMIT_MASK set the axes that have limit switches * X, Y, Z, A do, the LIMIT_MASK value would be B1111 */ -#define LIMIT_MASK B1111 #define X_LIMIT_PIN GPIO_NUM_17 //ok #define Y_LIMIT_PIN GPIO_NUM_4 //ok #define Z_LIMIT_PIN GPIO_NUM_16 //ok // Falls die 4. Achse genutzt wird #if (N_AXIS == 4) -#define A_LIMIT_PIN GPIO_NUM_21 //ok -#define LIMIT_MASK B1111 + #define A_LIMIT_PIN GPIO_NUM_21 //ok + #define LIMIT_MASK B1111 #else // bei 3 Achsen -#define LIMIT_MASK B111 + #define LIMIT_MASK B111 #endif /*