Skip to content

Commit

Permalink
Merge pull request #4405 from DavePutz/issue_4237
Browse files Browse the repository at this point in the history
Issue 4237 - Changed initial setting in program_struct
  • Loading branch information
tannewt authored Mar 16, 2021
2 parents 0a39e01 + 9a83501 commit f7a988b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/raspberrypi/common-hal/rp2pio/StateMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ bool rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,
pio_program_t program_struct = {
.instructions = (uint16_t *)program,
.length = program_len,
.origin = 0
.origin = -1
};
for (size_t i = 0; i < NUM_PIOS; i++) {
PIO pio = pio_instances[i];
Expand Down

0 comments on commit f7a988b

Please sign in to comment.