8000 fix handling of jmp_pin pull down · adafruit/circuitpython@2b3fe59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b3fe59

Browse files
committed
fix handling of jmp_pin pull down
1 parent e8370a8 commit 2b3fe59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/common-hal/rp2pio/StateMachine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ void common_hal_rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,
635635
pull_up |= jmp_mask;
636636
}
637637
if (jmp_pull == PULL_DOWN) {
638-
pull_up |= jmp_mask;
638+
pull_down |= jmp_mask;
639639
}
640640
}
641641
if (initial_pin_direction & (pull_up | pull_down)) {

0 commit comments

Comments
 (0)
0