aboutsummaryrefslogtreecommitdiff
path: root/py/builtin.h
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-10-22 17:03:59 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-22 21:58:05 +1100
commitb02d7e612d12b507a3a91a95eb30187b24ce21a7 (patch)
treedf91ce3d964dccca93f9c2fba7de8c10f935279b /py/builtin.h
parent30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2 (diff)
extmod/modbluetooth: Rename module to "ubluetooth".
For consistency with "umachine". Now that weak links are enabled by default for built-in modules, this should be a no-op, but allows extension of the bluetooth module by user code. Also move registration of ubluetooth to objmodule rather than port-specific.
Diffstat (limited to 'py/builtin.h')
-rw-r--r--py/builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/builtin.h b/py/builtin.h
index 1928577be..2dbe8a782 100644
--- a/py/builtin.h
+++ b/py/builtin.h
@@ -122,6 +122,7 @@ extern const mp_obj_module_t mp_module_uwebsocket;
extern const mp_obj_module_t mp_module_webrepl;
extern const mp_obj_module_t mp_module_framebuf;
extern const mp_obj_module_t mp_module_btree;
+extern const mp_obj_module_t mp_module_ubluetooth;
extern const char MICROPY_PY_BUILTINS_HELP_TEXT[];