diff options
author | Damien George <damien.p.george@gmail.com> | 2018-09-20 17:52:16 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-20 17:52:16 +1000 |
commit | 185716514f110560adaa35367aa6886023f29120 (patch) | |
tree | 77fccc868bea655ea7bbfdaeb69dc9473d8a043d | |
parent | ad4fb62f13ba8c91aacb9097243180d38f941d2a (diff) |
esp32/machine_rtc: Fix locals dict entry, init qstr points to init meth.
-rw-r--r-- | ports/esp32/machine_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/machine_rtc.c b/ports/esp32/machine_rtc.c index b17932da5..08c7b02bf 100644 --- a/ports/esp32/machine_rtc.c +++ b/ports/esp32/machine_rtc.c @@ -148,7 +148,7 @@ STATIC mp_obj_t machine_rtc_memory(mp_uint_t n_args, const mp_obj_t *args) { STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(machine_rtc_memory_obj, 1, 2, machine_rtc_memory); STATIC const mp_rom_map_elem_t machine_rtc_locals_dict_table[] = { - { MP_ROM_QSTR(MP_QSTR_init), MP_ROM_PTR(&machine_rtc_datetime_obj) }, + { MP_ROM_QSTR(MP_QSTR_init), MP_ROM_PTR(&machine_rtc_init_obj) }, { MP_ROM_QSTR(MP_QSTR_datetime), MP_ROM_PTR(&machine_rtc_datetime_obj) }, { MP_ROM_QSTR(MP_QSTR_memory), MP_ROM_PTR(&machine_rtc_memory_obj) }, }; |