summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/rtc.h b/ports/stm32/rtc.h
index d3840c1b7..5c454b3e3 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;