Skip to content

Commit cfb64d3

Browse files
V1.7.25.A3 - Updates
- Fixed some misspelled defines :-(
1 parent 22be349 commit cfb64d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Software/Arduino code/OpenAstroTracker/Mount.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void Mount::configureDECStepper(byte stepMode, byte pin1, byte pin2, byte pin3,
310310
_maxDECSpeed = maxSpeed;
311311
_maxDECAcceleration = maxAcceleration;
312312

313-
#if AZIMUTH_MOTOR
313+
#if AZIMUTH_MOTOR == 1
314314
_stepperAZ = new AccelStepper(FULLSTEP, 38, 42, 40, 44);
315315
_stepperAZ ->setSpeed(150);
316316
_stepperAZ ->setMaxSpeed(300);
@@ -892,7 +892,7 @@ void Mount::goHome()
892892
/////////////////////////////////
893893
void Mount::moveBy(int direction, float arcMinutes)
894894
{
895-
#if AZIMUTH_MOTORS == 1
895+
#if AZIMUTH_MOTOR == 1
896896
if (direction == AZIMUTH_STEPS){
897897
const float azimuthArcSecondsPerStep = 3.939f;
898898
const float azimuthStepsPerArcMinute = 60.0f / azimuthArcSecondsPerStep;
@@ -1260,7 +1260,7 @@ void Mount::interruptLoop()
12601260
}
12611261
}
12621262

1263-
#if AZIMUTH_MOTOR
1263+
#if AZIMUTH_MOTOR == 1
12641264
_stepperAZ->run();
12651265
_stepperALT->run();
12661266
#endif

Software/Arduino code/OpenAstroTracker/Mount.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class Mount {
254254
AccelStepper* _stepperDEC;
255255
AccelStepper* _stepperTRK;
256256

257-
#if AZIMUTH_MOTOR
257+
#if AZIMUTH_MOTOR == 1
258258
AccelStepper* _stepperAZ;
259259
AccelStepper* _stepperALT;
260260
#endif

Software/Arduino code/OpenAstroTracker/OpenAstroTracker.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "Globals.hpp"
2020

21-
String version = "V1.7.25.A2";
21+
String version = "V1.7.25.A3";
2222

2323
///////////////////////////////////////////////////////////////////////////
2424
// Please see the Globals.h file for configuration of the firmware.

0 commit comments

Comments
 (0)