Skip to content

Commit bf2f103

Browse files
Merge pull request #98 from OpenAstroTech/guiding-fix
V1.8.40 - Updates
2 parents 6180db1 + aabddfc commit bf2f103

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)