Merge pull request #4154 from LuminousOwl/fix-max-pio-instructions

Fix maximum PIO instructions
This commit is contained in:
Dan Halbert 2021-02-08 16:21:49 -05:00 committed by GitHub
commit c8cf1258ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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