Skip to content

Commit 7a7f1e6

Browse files
microdev1caseyWebb
authored andcommitted
fix arch switch statement in ulp
Co-authored-by: Casey Webb <caseywebb@protonmail.com>
1 parent ba22633 commit 7a7f1e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/espressif/common-hal/espulp

ports/espressif/common-hal/espulp/ULP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void common_hal_espulp_ulp_construct(espulp_ulp_obj_t *self, espulp_architecture
143143
mp_raise_ValueError_varg(translate("%q in use"), MP_QSTR_ULP);
144144
}
145145

146-
switch (self->arch) {
146+
switch (arch) {
147147
#ifdef CONFIG_ULP_COPROC_TYPE_FSM
148148
case FSM:
149149
break;

0 commit comments

Comments
 (0)