Skip to content

Commit

Permalink
Lint Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ClutchplateDude committed Sep 26, 2024
1 parent fc9fd39 commit f46da2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Mount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ void Mount::configureAZStepper(byte pin1, byte pin2, int maxSpeed, int maxAccele
#ifdef NEW_STEPPER_LIB
_stepperAZ = new StepperAzSlew(AccelStepper::DRIVER, pin1, pin2);
#else
_stepperAZ = new AccelStepper(AccelStepper::DRIVER, pin1, pin2);
_stepperAZ = new AccelStepper(AccelStepper::DRIVER, pin1, pin2);
#endif
_stepperAZ->setMaxSpeed(maxSpeed);
_stepperAZ->setAcceleration(maxAcceleration);
Expand All @@ -375,7 +375,7 @@ void Mount::configureALTStepper(byte pin1, byte pin2, int maxSpeed, int maxAccel
#ifdef NEW_STEPPER_LIB
_stepperALT = new StepperAltSlew(AccelStepper::DRIVER, pin1, pin2);
#else
_stepperALT = new AccelStepper(AccelStepper::DRIVER, pin1, pin2);
_stepperALT = new AccelStepper(AccelStepper::DRIVER, pin1, pin2);
#endif
_stepperALT->setMaxSpeed(maxSpeed);
_stepperALT->setAcceleration(maxAcceleration);
Expand Down Expand Up @@ -733,7 +733,7 @@ void Mount::configureALTdriver(uint16_t ALT_SW_RX, uint16_t ALT_SW_TX, float rse
_driverALT->pdn_disable(true);
#if UART_CONNECTION_TEST_TXRX == 1
bool UART_Rx_connected = false;
UART_Rx_connected = connectToDriver(_driverALT, "ALT");
UART_Rx_connected = connectToDriver(_driverALT, "ALT");
if (!UART_Rx_connected)
{
digitalWrite(ALT_EN_PIN,
Expand Down Expand Up @@ -824,7 +824,7 @@ void Mount::configureFocusDriver(
_driverFocus->pdn_disable(true);
#if UART_CONNECTION_TEST_TXRX == 1
bool UART_Rx_connected = false;
UART_Rx_connected = connectToDriver(_driverFocus, "Focus");
UART_Rx_connected = connectToDriver(_driverFocus, "Focus");
if (!UART_Rx_connected)
{
digitalWrite(FOCUS_EN_PIN,
Expand Down Expand Up @@ -1836,7 +1836,7 @@ void Mount::getAZALTPositions(long &azPos, long &altPos)
#if (AZ_STEPPER_TYPE != STEPPER_TYPE_NONE)
azPos = _stepperAZ->currentPosition();
#else
azPos = 0;
azPos = 0;
#endif
#if (ALT_STEPPER_TYPE != STEPPER_TYPE_NONE)
altPos = _stepperALT->currentPosition();
Expand Down

0 comments on commit f46da2a

Please sign in to comment.