From 23109988c29447067b15f1943f72c0b486819c6c Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Fri, 14 Aug 2020 15:21:23 +1000 Subject: stm32/uart: Allow static IRQ handler registration. This will allow the HCI UART to use a non-heap mp_irq_obj_t, which avoids needing to make a root pointer for it. --- lib/utils/mpirq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/utils/mpirq.h b/lib/utils/mpirq.h index 186c9e1b0..dd423c010 100644 --- a/lib/utils/mpirq.h +++ b/lib/utils/mpirq.h @@ -26,7 +26,7 @@ #ifndef MICROPY_INCLUDED_LIB_UTILS_MPIRQ_H #define MICROPY_INCLUDED_LIB_UTILS_MPIRQ_H -#include "py/obj.h" +#include "py/runtime.h" /****************************************************************************** DEFINE CONSTANTS -- cgit v1.2.3