Merge pull request #4154 from LuminousOwl/fix-max-pio-instructions
Fix maximum PIO instructions
This commit is contained in:
commit
c8cf1258ac
|
@ -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) {
|
if (bufinfo.len % 2 != 0) {
|
||||||
mp_raise_ValueError(translate("Program size invalid"));
|
mp_raise_ValueError(translate("Program size invalid"));
|
||||||
}
|
}
|
||||||
if (bufinfo.len > 32) {
|
if (bufinfo.len > 64) {
|
||||||
mp_raise_ValueError(translate("Program too large"));
|
mp_raise_ValueError(translate("Program too large"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue