summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.c
diff options
context:
space:
mode:
authorJosef Gajdusek <atx@atx.name>2015-05-11 21:11:37 +0200
committerDamien George <damien.p.george@gmail.com>2015-05-13 00:12:54 +0100
commit103d12a877f09e5d812f8c9c1fbf13ddbea4f78c (patch)
tree6ae6fc565aa5064d270d8254bede2c9d24ec7694 /esp8266/modpyb.c
parentb47931978feffc7739fab7261b81caed1622fc9d (diff)
downloadmicropython-103d12a877f09e5d812f8c9c1fbf13ddbea4f78c.tar.gz
micropython-103d12a877f09e5d812f8c9c1fbf13ddbea4f78c.zip
esp8266: Add utime and pyb.RTC
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);