FastAccelStepper icon indicating copy to clipboard operation
FastAccelStepper copied to clipboard

stepperConnectToPin() returns success, even internal init fails

Open gin66 opened this issue 1 year ago • 0 comments

see #245 for reference

stepperConnectToPin() calls stepper->init(), which can fail silently. stepper->init() calls queue->init(), which too can fail silently.

Bugfix need to propagate errors up to stepperConnectToPin() and reverse prepared allocation of stepper.

gin66 avatar Mar 30 '24 01:03 gin66