Skip to content

Commit

Permalink
compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Dec 28, 2021
1 parent 540eeee commit fedebad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/SmartSpin_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class userParameters {
const char* getconnectedHeartMonitor() { return connectedHeartMonitor.c_str(); }
int getStepperPower() { return stepperPower; }
int getMaxWatts() { return maxWatts; }
bool stepperDir() { return stepperDir;}
bool shifterDir() { return shifterDir;}
bool getStepperDir() { return stepperDir;}
bool getShifterDir() { return shifterDir;}

void setDefaults();
void setFirmwareUpdateURL(String fURL) { firmwareUpdateURL = fURL; }
Expand Down
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void moveStepper(void *pvParameters) {
} else {
stepper->setAutoEnable(true); // disable output FETs between moves so stepper can cool. Can still shift.
}
if (_stepperDir != userConfig.getStepperDir();) { //User changed the config direction of the stepper wires
if (_stepperDir != userConfig.getStepperDir()) { //User changed the config direction of the stepper wires
_stepperDir = userConfig.getStepperDir();
while (stepper->isMotorRunning()) {
vTaskDelay(100 / portTICK_PERIOD_MS);
Expand Down

0 comments on commit fedebad

Please sign in to comment.