From 7a7f1e6efa4c6e0ca12478d16d5bab46ced5b731 Mon Sep 17 00:00:00 2001 From: MicroDev <70126934+microdev1@users.noreply.github.com> Date: Tue, 21 Mar 2023 07:15:31 +0530 Subject: [PATCH] fix arch switch statement in ulp Co-authored-by: Casey Webb --- ports/espressif/common-hal/espulp/ULP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/espressif/common-hal/espulp/ULP.c b/ports/espressif/common-hal/espulp/ULP.c index 2af3142ff2..9db001a506 100644 --- a/ports/espressif/common-hal/espulp/ULP.c +++ b/ports/espressif/common-hal/espulp/ULP.c @@ -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); } - switch (self->arch) { + switch (arch) { #ifdef CONFIG_ULP_COPROC_TYPE_FSM case FSM: break;