summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-28 23:47:28 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-28 23:47:28 +0000
commit217814cc63f2054833a87d2dd903a9cbe476e55a (patch)
tree135bd54487f7d232f1c9503fdb7b65305edc8503 /stm/main.c
parente4b6a079b3422e83a5fb082ba0e166ed1b48ecdf (diff)
downloadmicropython-217814cc63f2054833a87d2dd903a9cbe476e55a.tar.gz
micropython-217814cc63f2054833a87d2dd903a9cbe476e55a.zip
stm: Increase timeout for RTC LSE startup; use backup regs.
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 90fdab3d22..9fc9633ff2 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -655,7 +655,7 @@ soft_reset:
rt_store_attr(m, MP_QSTR_mma_mode, (mp_obj_t)&pyb_mma_write_mode_obj);
#endif
rt_store_attr(m, MP_QSTR_hid, rt_make_function_n(1, pyb_hid_send_report));
-#if MICROPY_HW_HAS_RTC
+#if MICROPY_HW_ENABLE_RTC
rt_store_attr(m, MP_QSTR_time, rt_make_function_n(0, pyb_rtc_read));
#endif
#if MICROPY_HW_ENABLE_RNG