diff --git a/src/ESP_FlexyStepper.cpp b/src/ESP_FlexyStepper.cpp index fc938a2..0906611 100644 --- a/src/ESP_FlexyStepper.cpp +++ b/src/ESP_FlexyStepper.cpp @@ -1025,7 +1025,7 @@ void ESP_FlexyStepper::setTargetPositionToStop() this->isOnWayToHome = false; this->isOnWayToLimit = false; -in setTargetPositionToStop if(directionOfMotion == 0){ + if(directionOfMotion == 0){ return; }