Skip to content

Commit 0b31ee4

Browse files
V1.7.25.A3 - Updates
- Fixed some misspelled defines :-(
1 parent 8cb4e21 commit 0b31ee4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Software/Arduino code/OpenAstroTracker/Mount.cpp

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

333-
#if AZIMUTH_MOTOR
333+
#if AZIMUTH_MOTOR == 1
334334
_stepperAZ = new AccelStepper(FULLSTEP, 38, 42, 40, 44);
335335
_stepperAZ ->setSpeed(150);
336336
_stepperAZ ->setMaxSpeed(300);
@@ -994,7 +994,7 @@ void Mount::goHome()
994994
/////////////////////////////////
995995
void Mount::moveBy(int direction, float arcMinutes)
996996
{
997-
#if AZIMUTH_MOTORS == 1
997+
#if AZIMUTH_MOTOR == 1
998998
if (direction == AZIMUTH_STEPS){
999999
const float azimuthArcSecondsPerStep = 3.939f;
10001000
const float azimuthStepsPerArcMinute = 60.0f / azimuthArcSecondsPerStep;
@@ -1381,7 +1381,7 @@ void Mount::interruptLoop()
13811381
<<<<<<< HEAD
13821382
=======
13831383

1384-
#if AZIMUTH_MOTOR
1384+
#if AZIMUTH_MOTOR == 1
13851385
_stepperAZ->run();
13861386
_stepperALT->run();
13871387
#endif

Software/Arduino code/OpenAstroTracker/Mount.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,16 @@ class Mount {
273273
AccelStepper* _stepperRA;
274274
AccelStepper* _stepperDEC;
275275
AccelStepper* _stepperTRK;
276+
<<<<<<< HEAD
276277
#if RA_DRIVER_TYPE == TMC2009_UART
277278
TMC2209Stepper* _driverRA;
278279
TMC2209Stepper* _driverDEC;
280+
=======
281+
282+
#if AZIMUTH_MOTOR == 1
283+
AccelStepper* _stepperAZ;
284+
AccelStepper* _stepperALT;
285+
>>>>>>> cfb64d3... V1.7.25.A3 - Updates
279286
#endif
280287

281288
unsigned long _guideEndTime;

0 commit comments

Comments
 (0)