summaryrefslogtreecommitdiff
path: root/py/builtintables.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-21 15:12:51 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-07 20:40:32 +0100
commit6c9c7bc75a48e71b31dfce4ec55cbd0d308771fd (patch)
treeaf61aab5f58f137b1904f06388f1085303491e2e /py/builtintables.c
parentc8c44a4c2e6deaf57a4d7badfcbb9ba525d3dfa2 (diff)
stmhal: Implement generic select.select and select.poll.
Diffstat (limited to 'py/builtintables.c')
-rw-r--r--py/builtintables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c
index 08b6b1649..ad2e0bb55 100644
--- a/py/builtintables.c
+++ b/py/builtintables.c
@@ -200,6 +200,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = {
#if MICROPY_PY_ZLIBD
{ MP_OBJ_NEW_QSTR(MP_QSTR_zlibd), (mp_obj_t)&mp_module_zlibd },
#endif
+#if MICROPY_PY_SELECT
+ { MP_OBJ_NEW_QSTR(MP_QSTR_select), (mp_obj_t)&mp_module_select },
+#endif
// extra builtin modules as defined by a port
MICROPY_PORT_BUILTIN_MODULES