mirror of
https://github.com/micropython/micropython.git
synced 2025-08-23 02:50:24 +02:00
extmod: Make extmod modules use MP_REGISTER_MODULE.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -1004,6 +1004,8 @@ const mp_obj_module_t mp_module_ubluetooth = {
|
||||
.globals = (mp_obj_dict_t *)&mp_module_bluetooth_globals,
|
||||
};
|
||||
|
||||
MP_REGISTER_MODULE(MP_QSTR_ubluetooth, mp_module_ubluetooth, MICROPY_PY_BLUETOOTH);
|
||||
|
||||
// Helpers
|
||||
|
||||
#if !MICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS
|
||||
|
Reference in New Issue
Block a user