summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-09-10 20:46:40 +1000
committerDamien George <damien@micropython.org>2020-09-10 20:46:40 +1000
commit709398daae14b3630de7050e08b9e77ea1232716 (patch)
treeeb6aa4c2be06e4f5c271222ff052ec7ee86ae547
parent547688c58cce3436082cc9338929c2699410c0e1 (diff)
stm32/rtc.h: Include py/obj.h to make header self contained.
Signed-off-by: Damien George <damien@micropython.org>
-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;