summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-03-07 12:47:26 +0100
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-03-07 12:47:26 +0100
commit3891dde7ffd96eff8d79d9816f49b7543ee15769 (patch)
tree298ecd5171f77ad054e953f41fe34e20d44c6880 /shared-bindings
parent7ecbc3a148da67f829a9df47a66b68926ffa2fee (diff)
shared-bindings: Reenable struct_time. It was turned off when playing with LTO and never re-enabled.
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/time/__init__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c
index 8ad05f16b..b258b3bbd 100644
--- a/shared-bindings/time/__init__.c
+++ b/shared-bindings/time/__init__.c
@@ -139,7 +139,7 @@ STATIC const mp_map_elem_t time_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_monotonic), (mp_obj_t)&time_monotonic_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_sleep), (mp_obj_t)&time_sleep_obj },
#if MICROPY_PY_COLLECTIONS
- //{ MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj },
#endif
};