gin66 / FastAccelStepper

A high speed stepper library for Atmega 168/328p (nano), Atmega32u4, Atmega 2560, ESP32, ESP32S2, ESP32S3, ESP32C3 and Atmel SAM Due
MIT License
282 stars 67 forks source link

forceStopAndNewPosition unnecessarily takes a `uint32_t` instead of an `int32_t` #268

Closed HalfVoxel closed 1 week ago

HalfVoxel commented 1 week ago

It should be possible to use a negative position. In the method implementation, the value is cast to an int32_t anyway.

gin66 commented 1 week ago

Agree

gin66 commented 1 week ago

Fixed in master branch and will be included in next release.