summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2021-03-03 10:55:08 -0600
committerGitHub <noreply@github.com>2021-03-03 10:55:08 -0600
commitced707ed329e83749d3474ea6f391f03f5bd1bdf (patch)
tree3468b8f0429c485d35ac129819ae868d09446cb2
parent9b96bae66883f10895506e8917639936495ed9b8 (diff)
Update call to rp2pio_statemachine_construct
-rw-r--r--ports/raspberrypi/common-hal/pulseio/PulseIn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/raspberrypi/common-hal/pulseio/PulseIn.c b/ports/raspberrypi/common-hal/pulseio/PulseIn.c
index cd466dd93..ea0d24f86 100644
--- a/ports/raspberrypi/common-hal/pulseio/PulseIn.c
+++ b/ports/raspberrypi/common-hal/pulseio/PulseIn.c
@@ -84,6 +84,7 @@ void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t* self,
1, self->pin,
1 << self->pin, false, true,
false, 8, false, // TX, unused
+ false,
true, 32, true, // RX auto-push every 32 bits
false); // claim pins
self->state_machine.pio = state_machine.pio;