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>
This commit is contained in:
parent
5f3c2f1fa8
commit
ce326699d7
@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include "py/mphal.h"
|
||||
#include "irq.h"
|
||||
#include "powerctrl.h"
|
||||
|
||||
static inline void powerctrl_config_systick(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user