diff options
author | Damien George <damien@micropython.org> | 2020-06-18 13:33:31 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-06-22 13:47:48 +1000 |
commit | ce326699d7bb4e618600475c856f2ee1fe333442 (patch) | |
tree | 73222d4bafccb0b1ec15826a20e125ce3e6ac990 | |
parent | 5f3c2f1fa8e7a41ff85aaaea98bfb3d98459e136 (diff) |
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 <damien@micropython.org>
-rw-r--r-- | ports/stm32/powerctrlboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/powerctrlboot.c b/ports/stm32/powerctrlboot.c index 749cb5505..206b19b75 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) { |