From 709398daae14b3630de7050e08b9e77ea1232716 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 10 Sep 2020 20:46:40 +1000 Subject: [PATCH] stm32/rtc.h: Include py/obj.h to make header self contained. Signed-off-by: Damien George --- ports/stm32/rtc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/stm32/rtc.h b/ports/stm32/rtc.h index d3840c1b73..5c454b3e39 100644 --- a/ports/stm32/rtc.h +++ b/ports/stm32/rtc.h @@ -26,6 +26,8 @@ #ifndef MICROPY_INCLUDED_STM32_RTC_H #define MICROPY_INCLUDED_STM32_RTC_H +#include "py/obj.h" + extern RTC_HandleTypeDef RTCHandle; extern const mp_obj_type_t pyb_rtc_type;