extmod: Make extmod modules use MP_REGISTER_MODULE.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2022-04-20 16:06:22 +10:00
parent 469450171f
commit 4eab44a1ec
35 changed files with 69 additions and 74 deletions

View File

@@ -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