Skip to content

Commit aabddfc

Browse files
V1.8.40 - Updates
- Fixed RA negative movement, which was not switching to Slew microstepping settings.
1 parent 31a3ef1 commit aabddfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define VERSION "V1.8.39"
1+
#define VERSION "V1.8.40"

Software/Arduino code/OpenAstroTracker/src/Mount.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ void Mount::startSlewingToTarget() {
10831083
_totalRAMove = 1.0f * _stepperRA->distanceToGo();
10841084
LOGV3(DEBUG_MOUNT, "Mount: RA Dist: %d, DEC Dist: %d", _stepperRA->distanceToGo(), _stepperDEC->distanceToGo());
10851085
#if RA_STEPPER_TYPE == STEPPER_TYPE_NEMA17 // tracking while slewing causes audible lagging
1086-
if ((_stepperRA->distanceToGo() > 0) || (_stepperDEC->distanceToGo() > 0)) {
1086+
if ((_stepperRA->distanceToGo() != 0) || (_stepperDEC->distanceToGo() != 0)) {
10871087
// Only stop tracking if we're actually going to slew somewhere else, otherwise the
10881088
// mount::loop() code won't detect the end of the slewing operation...
10891089
LOGV1(DEBUG_MOUNT, "Mount: Stop tracking (NEMA steppers)");

0 commit comments

Comments
 (0)