From ce326699d7bb4e618600475c856f2ee1fe333442 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 18 Jun 2020 13:33:31 +1000 Subject: [PATCH] stm32/powerctrlboot: Include irq.h to get definitions of IRQ priorities. irq.h is included by py/mphal.h but it's better to be explicit, eg if mboot uses powerctrlboot.c. Signed-off-by: Damien George --- ports/stm32/powerctrlboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/stm32/powerctrlboot.c b/ports/stm32/powerctrlboot.c index 749cb5505c..206b19b750 100644 --- a/ports/stm32/powerctrlboot.c +++ b/ports/stm32/powerctrlboot.c @@ -25,6 +25,7 @@ */ #include "py/mphal.h" +#include "irq.h" #include "powerctrl.h" static inline void powerctrl_config_systick(void) {