From 302646625b257bc76b9318cf68696aac18e42006 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 19 Feb 2014 23:15:09 +0000 Subject: stm: Add RTC start-up info, and uPy bindings. --- stm/rtc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'stm/rtc.h') diff --git a/stm/rtc.h b/stm/rtc.h index 6b1ff1b45..fee4da888 100644 --- a/stm/rtc.h +++ b/stm/rtc.h @@ -1,2 +1,4 @@ void rtc_init(void); -mp_obj_t pyb_rtc_read(void); + +MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_info_obj); +MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_read_obj); -- cgit v1.2.3