File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Software/Arduino code/OpenAstroTracker Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ const DayTime Mount::currentRA() const {
176
176
float raC = _currentRA.getTotalHours ();
177
177
float deltaT = raT - raC;
178
178
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
180
180
// the other direction than the math, move the target beyond current in the right direction
181
181
if ( (raT < raC && (deltaSteps < 0 )) || (raT > raC && (deltaSteps > 0 ))) {
182
182
raT += (deltaSteps < 0 ) ? 24 : -24 ;
@@ -498,6 +498,7 @@ void Mount::loop() {
498
498
_currentDEC = _targetDEC;
499
499
_currentDECStepperPosition = _stepperDEC->currentPosition ();
500
500
_currentRAStepperPosition = _stepperRA->currentPosition ();
501
+ _totalDECMove = _totalRAMove = 0 ;
501
502
502
503
// Make sure we do one last update when the steppers have stopped.
503
504
displayStepperPosition ();
Original file line number Diff line number Diff line change 1
1
/*
2
2
=======================================================================================================================================
3
3
4
- Version 1.6.12
4
+ Version 1.6.13
5
5
6
6
1. Connect your Arduino, under tools choose "Arduino Uno", set the right Port and set "Arduino ISP" as the Programmer.
7
7
2. Hit upload (Ctrl-U)
14
14
15
15
=======================================================================================================================================
16
16
*/
17
- String version = " V1.6.12 " ;
17
+ String version = " V1.6.13 " ;
18
18
19
19
// See NORTHERN_HEMISPHERE in Globals.h if you not in the northern hemisphere
20
20
You can’t perform that action at this time.
0 commit comments