Skip to content

Commit ddb326d

Browse files
committed
Restore encoding default.
1 parent 21b2ff5 commit ddb326d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/QEI/QEI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class QEI {
176176
* of only channel A where as X4 uses them on both
177177
* channels.
178178
*/
179-
QEI(PinName channelA, PinName channelB, PinName index, int pulsesPerRev, Encoding encoding = X4_ENCODING);
179+
QEI(PinName channelA, PinName channelB, PinName index, int pulsesPerRev, Encoding encoding = X2_ENCODING);
180180

181181
/**
182182
* Reset the encoder.

0 commit comments

Comments
 (0)