diff options
| author | Damien George | 2014-04-19 02:17:30 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-19 02:17:30 +0100 |
| commit | 6e44381cce102bbb4b0c45aacb927a565cab41c9 (patch) | |
| tree | c7da7854df9c5a7b583182ae114f082b008a0eb8 /stmhal/rtc.h | |
| parent | ed5117f6a8d0659b8a9a3a985d8b7e36644e39d5 (diff) | |
stmhal: Improve RTC class; make fatfs use RTC for time stamping files.
Diffstat (limited to 'stmhal/rtc.h')
| -rw-r--r-- | stmhal/rtc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/rtc.h b/stmhal/rtc.h index fee4da888..22d8af97c 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); |
