Skip to content

Commit 848b101

Browse files
V1.6.13 - Updates
- Fixed a bug that was display RA and DEC instead of the stepper motor steps in the CTRL menu.
1 parent 2d9fbf9 commit 848b101

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Software/Arduino code/OpenAstroTracker/Mount.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const DayTime Mount::currentRA() const {
176176
float raC = _currentRA.getTotalHours();
177177
float deltaT = raT - raC;
178178

179-
// If we're rolling over, take the short route. i.e. if the motor direction indicates
179+
// If we're rolling over, take the short route. i.e. if the motor direction indicates
180180
// the other direction than the math, move the target beyond current in the right direction
181181
if ( (raT < raC && (deltaSteps < 0)) || (raT > raC && (deltaSteps > 0))) {
182182
raT += (deltaSteps < 0) ? 24 : -24;
@@ -498,6 +498,7 @@ void Mount::loop() {
498498
_currentDEC = _targetDEC;
499499
_currentDECStepperPosition = _stepperDEC->currentPosition();
500500
_currentRAStepperPosition = _stepperRA->currentPosition();
501+
_totalDECMove = _totalRAMove = 0;
501502

502503
// Make sure we do one last update when the steppers have stopped.
503504
displayStepperPosition();

Software/Arduino code/OpenAstroTracker/OpenAstroTracker.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
=======================================================================================================================================
33
4-
Version 1.6.12
4+
Version 1.6.13
55
66
1. Connect your Arduino, under tools choose "Arduino Uno", set the right Port and set "Arduino ISP" as the Programmer.
77
2. Hit upload (Ctrl-U)
@@ -14,7 +14,7 @@
1414
1515
=======================================================================================================================================
1616
*/
17-
String version = "V1.6.12";
17+
String version = "V1.6.13";
1818

1919
// See NORTHERN_HEMISPHERE in Globals.h if you not in the northern hemisphere
2020

0 commit comments

Comments
 (0)