summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/rtc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-19 02:17:30 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-19 02:17:30 +0100
commit6e44381cce102bbb4b0c45aacb927a565cab41c9 (patch)
treec7da7854df9c5a7b583182ae114f082b008a0eb8 /stmhal/rtc.h
parented5117f6a8d0659b8a9a3a985d8b7e36644e39d5 (diff)
downloadmicropython-6e44381cce102bbb4b0c45aacb927a565cab41c9.tar.gz
micropython-6e44381cce102bbb4b0c45aacb927a565cab41c9.zip
stmhal: Improve RTC class; make fatfs use RTC for time stamping files.
Diffstat (limited to 'stmhal/rtc.h')
-rw-r--r--stmhal/rtc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/rtc.h b/stmhal/rtc.h
index fee4da8882..22d8af97cb 100644
--- a/stmhal/rtc.h
+++ b/stmhal/rtc.h
@@ -1,4 +1,4 @@
-void rtc_init(void);
+extern RTC_HandleTypeDef RTCHandle;
+extern const mp_obj_type_t pyb_rtc_type;
-MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_info_obj);
-MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_read_obj);
+void rtc_init(void);