Skip to content

Commit

Permalink
Merge pull request #4154 from LuminousOwl/fix-max-pio-instructions
Browse files Browse the repository at this point in the history
Fix maximum PIO instructions
  • Loading branch information
dhalbert authored Feb 8, 2021
2 parents 482e583 + ae262cd commit c8cf125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/raspberrypi/bindings/rp2pio/StateMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ STATIC mp_obj_t rp2pio_statemachine_make_new(const mp_obj_type_t *type, size_t n
if (bufinfo.len % 2 != 0) {
mp_raise_ValueError(translate("Program size invalid"));
}
if (bufinfo.len > 32) {
if (bufinfo.len > 64) {
mp_raise_ValueError(translate("Program too large"));
}

Expand Down

0 comments on commit c8cf125

Please sign in to comment.