Skip to content

fixed stop command in case stepper is already stopped.#7

Open
UB909 wants to merge 1 commit intoStan-Reifel:masterfrom
UB909:master
Open

fixed stop command in case stepper is already stopped.#7
UB909 wants to merge 1 commit intoStan-Reifel:masterfrom
UB909:master

Conversation

@UB909
Copy link
Copy Markdown

@UB909 UB909 commented Sep 15, 2024

Due to the division by the speed, the original code failed in case the speed was already zero (division by zero). The generated decelerationDistance_InSteps was a huge negative number (maybe - int max).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants