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:
Damien George 2020-06-18 13:33:31 +10:00
parent 5f3c2f1fa8
commit ce326699d7

View File

@ -25,6 +25,7 @@
*/
#include "py/mphal.h"
#include "irq.h"
#include "powerctrl.h"
static inline void powerctrl_config_systick(void) {