From 1d36ae233685fc461ad6aed3d13f23afb66db584 Mon Sep 17 00:00:00 2001 From: polymurph Date: Sat, 11 Mar 2023 11:26:43 +0100 Subject: [PATCH] resolving makro errors --- csl/stm32f042k6t6/implementation/imp_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csl/stm32f042k6t6/implementation/imp_timer.c b/csl/stm32f042k6t6/implementation/imp_timer.c index caf60f9..926188b 100644 --- a/csl/stm32f042k6t6/implementation/imp_timer.c +++ b/csl/stm32f042k6t6/implementation/imp_timer.c @@ -11,7 +11,7 @@ // clear flag (flagReg) &= ~(flagMask);\ // indext to corresponding handler and execute - ((intHandler_t)(intHandlerList[intType]))();\ + ((intHandler_t)(intHandlerList[(intType)]))();\ }\ } while (0)