summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modpyb.c')
-rw-r--r--esp8266/modpyb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/modpyb.c b/esp8266/modpyb.c
index 57d0a6a9f2..5d57317b73 100644
--- a/esp8266/modpyb.c
+++ b/esp8266/modpyb.c
@@ -159,6 +159,7 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_hard_reset), (mp_obj_t)&pyb_hard_reset_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_Pin), (mp_obj_t)&pyb_pin_type },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_RTC), (mp_obj_t)&pyb_rtc_obj },
};
STATIC MP_DEFINE_CONST_DICT(pyb_module_globals, pyb_module_globals_table);