Skip to content

Commit

Permalink
Merge pull request #26 from clearwater/guyc-patch-1
Browse files Browse the repository at this point in the history
Remove spurious pinmode setting in X12 constructor.
  • Loading branch information
guyc authored Nov 28, 2023
2 parents 67ace42 + 2a35b66 commit 45a336e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion SwitecX12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ SwitecX12::SwitecX12(unsigned int steps, unsigned char pinStep, unsigned char pi
pinMode(pinDir, OUTPUT);
digitalWrite(pinStep, LOW);
digitalWrite(pinDir, LOW);
pinMode(13, OUTPUT);

dir = 0;
vel = 0;
Expand Down

0 comments on commit 45a336e

Please sign in to comment.