Skip to content

Commit bcd90dd

Browse files
committed
IncrementalEncoder: There are no out pins.
Closes #4556
1 parent 27d8832 commit bcd90dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void common_hal_rotaryio_incrementalencoder_construct(rotaryio_incrementalencode
7171
encoder, MP_ARRAY_SIZE(encoder),
7272
1000000,
7373
encoder_init, MP_ARRAY_SIZE(encoder_init), // init
74-
NULL, 1, 0, 0xffffffff, // out pin
74+
NULL, 0, 0, 0, // out pin
7575
pin_a, 2, // in pins
7676
3, 0, // in pulls
7777
NULL, 0, 0, 0x1f, // set pins

0 commit comments

Comments
 (0)