diff --git a/Changelog.md b/Changelog.md index 71fe0bc8..5ec4a6ae 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,6 @@ +**V1.11.6 - Updates** +- add #ifdef for ALTITUDE_STEPS_PER_REV and ALTITUDE_STEPS_PER_ARC_MINUTE + **V1.11.5 - Updates** - Corrected Longitude parsing to account for sign - Corrected Longitude output to provide sign diff --git a/Configuration_adv.hpp b/Configuration_adv.hpp index a0c93ba3..39e3ef16 100644 --- a/Configuration_adv.hpp +++ b/Configuration_adv.hpp @@ -353,11 +353,15 @@ #define ALT_WORMGEAR_RATIO (40.0f) #endif - #define ALTITUDE_STEPS_PER_REV \ - (ALT_CORRECTION_FACTOR * (ALT_CIRCUMFERENCE / (ALT_PULLEY_TEETH * GT2_BELT_PITCH)) * ALT_STEPPER_SPR * ALT_MICROSTEPPING \ - * ALT_WORMGEAR_RATIO) // Actually u-steps/rev - #define ALTITUDE_STEPS_PER_ARC_MINUTE (ALTITUDE_STEPS_PER_REV / (360 * 60.0f)) // Used to determine move distance in steps - + #ifndef ALTITUDE_STEPS_PER_REV + #define ALTITUDE_STEPS_PER_REV \ + (ALT_CORRECTION_FACTOR * (ALT_CIRCUMFERENCE / (ALT_PULLEY_TEETH * GT2_BELT_PITCH)) * ALT_STEPPER_SPR * ALT_MICROSTEPPING \ + * ALT_WORMGEAR_RATIO) // Actually u-steps/rev + #endif + #ifndef ALTITUDE_STEPS_PER_ARC_MINUTE + #define ALTITUDE_STEPS_PER_ARC_MINUTE (ALTITUDE_STEPS_PER_REV / (360 * 60.0f)) // Used to determine move distance in steps + #endif + // ALT TMC2209 UART settings // These settings work only with TMC2209 in UART connection (single wire to TX) #if (ALT_DRIVER_TYPE == DRIVER_TYPE_TMC2209_UART) diff --git a/Version.h b/Version.h index 5098607f..97f83963 100644 --- a/Version.h +++ b/Version.h @@ -3,4 +3,4 @@ // Also, numbers are interpreted as simple numbers. _ __ _ // So 1.8 is actually 1.08, meaning that 1.12 is a later version than 1.8. \_(..)_/ -#define VERSION "V1.11.5" +#define VERSION "V1.11.6"