Skip to content

Commit 9270663

Browse files
author
Richard Unger
committed
change polarity data type
1 parent 40e1d21 commit 9270663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/communication/StepDirListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class StepDirListener
4747
int pin_step; //!< step pin
4848
int pin_dir; //!< direction pin
4949
long count; //!< current counter value - should be set to 0 for homing
50-
PinStatus polarity = RISING; //!< polarity of the step pin
50+
int polarity = RISING; //!< polarity of the step pin
5151

5252
private:
5353
float* attached_variable = nullptr; //!< pointer to the attached variable

0 commit comments

Comments
 (0)