diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-04-19 02:17:30 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-04-19 02:17:30 +0100 |
| commit | 6e44381cce102bbb4b0c45aacb927a565cab41c9 (patch) | |
| tree | c7da7854df9c5a7b583182ae114f082b008a0eb8 /stmhal/modpyb.c | |
| parent | ed5117f6a8d0659b8a9a3a985d8b7e36644e39d5 (diff) | |
stmhal: Improve RTC class; make fatfs use RTC for time stamping files.
Diffstat (limited to 'stmhal/modpyb.c')
| -rw-r--r-- | stmhal/modpyb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c index 6424fc4df..56a7233cc 100644 --- a/stmhal/modpyb.c +++ b/stmhal/modpyb.c @@ -268,8 +268,7 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = { #endif #if MICROPY_HW_ENABLE_RTC - { MP_OBJ_NEW_QSTR(MP_QSTR_time), (mp_obj_t)&pyb_rtc_read_obj }, - { MP_OBJ_NEW_QSTR(MP_QSTR_rtc_info), (mp_obj_t)&pyb_rtc_info_obj }, + { MP_OBJ_NEW_QSTR(MP_QSTR_RTC), (mp_obj_t)&pyb_rtc_type }, #endif { MP_OBJ_NEW_QSTR(MP_QSTR_Pin), (mp_obj_t)&pin_type }, |
