IncrementalEncoder: There are no out pins.

Closes #4556
This commit is contained in:
Jeff Epler 2021-04-04 13:47:55 -05:00
parent 27d8832868
commit bcd90dd927

View File

@ -71,7 +71,7 @@ void common_hal_rotaryio_incrementalencoder_construct(rotaryio_incrementalencode
encoder, MP_ARRAY_SIZE(encoder),
1000000,
encoder_init, MP_ARRAY_SIZE(encoder_init), // init
NULL, 1, 0, 0xffffffff, // out pin
NULL, 0, 0, 0, // out pin
pin_a, 2, // in pins
3, 0, // in pulls
NULL, 0, 0, 0x1f, // set pins