Fix maximum PIO instructions

This commit is contained in:
Jason Nichols 2021-02-06 10:54:25 -05:00
parent a10ce39ae6
commit ae262cde55

View File

@ -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"));
}