Skip to content

Commit

Permalink
Issue #199: add initialization of _enablePinHighActive and _enablePin…
Browse files Browse the repository at this point in the history
…LowActive
  • Loading branch information
gin66 authored Sep 1, 2023
1 parent ddce803 commit 192e9a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FastAccelStepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ void FastAccelStepper::init(FastAccelStepperEngine* engine, uint8_t num,
_stepPin = step_pin;
_dirHighCountsUp = true;
_dirPin = PIN_UNDEFINED;
_enablePinHighActive = PIN_UNDEFINED;
_enablePinLowActive = PIN_UNDEFINED;
_rg.init();

_queue_num = num;
Expand Down

0 comments on commit 192e9a3

Please sign in to comment.