luni64 / TeensyStep4

MIT License
17 stars 15 forks source link

Position not initialized. #14

Closed adob closed 1 year ago

adob commented 1 year ago

The pos variable in the Stepper class is not initialized. This causes it to get a random value if the object is allocated on the stack or heap.

luni64 commented 1 year ago

Care to do a pull request?

adob commented 1 year ago

sure, here is the pull request: https://github.com/luni64/TeensyStep4/pull/15