fix arch switch statement in ulp

Co-authored-by: Casey Webb <caseywebb@protonmail.com>
This commit is contained in:
MicroDev 2023-03-21 07:15:31 +05:30 committed by Scott Shawcroft
parent ba22633fb0
commit 7a7f1e6efa
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -143,7 +143,7 @@ void common_hal_espulp_ulp_construct(espulp_ulp_obj_t *self, espulp_architecture
mp_raise_ValueError_varg(translate("%q in use"), MP_QSTR_ULP); mp_raise_ValueError_varg(translate("%q in use"), MP_QSTR_ULP);
} }
switch (self->arch) { switch (arch) {
#ifdef CONFIG_ULP_COPROC_TYPE_FSM #ifdef CONFIG_ULP_COPROC_TYPE_FSM
case FSM: case FSM:
break; break;