Skip to content

Commit f7a988b

Browse files
authored
Merge pull request #4405 from DavePutz/issue_4237
Issue 4237 - Changed initial setting in program_struct
2 parents 0a39e01 + 9a83501 commit f7a988b

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
@@ -172,7 +172,7 @@ bool rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,
172172
pio_program_t program_struct = {
173173
.instructions = (uint16_t *)program,
174174
.length = program_len,
175-
.origin = 0
175+
.origin = -1
176176
};
177177
for (size_t i = 0; i < NUM_PIOS; i++) {
178178
PIO pio = pio_instances[i];

0 commit comments

Comments
 (0)