diff --git a/configs/stm32f4discovery/src/up_qencoder.c b/configs/stm32f4discovery/src/up_qencoder.c index 5d91f4c367..60d4d760e2 100644 --- a/configs/stm32f4discovery/src/up_qencoder.c +++ b/configs/stm32f4discovery/src/up_qencoder.c @@ -89,7 +89,7 @@ # define qevdbg vdbg # define qellvdbg llvdbg # else -# define qelldbg(x...) +# define qevdbg(x...) # define qellvdbg(x...) # endif #else @@ -118,7 +118,7 @@ int qe_devinit(void) { - static initialized = false; + static bool initialized = false; int ret; /* Check if we are already initialized */