Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 9 additions & 5 deletions Configuration_adv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"