From 4eab44a1ec19f71e01b2c4f0747b95da0d34da77 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 20 Apr 2022 16:06:22 +1000 Subject: extmod: Make extmod modules use MP_REGISTER_MODULE. Signed-off-by: Jim Mussared --- extmod/modbluetooth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extmod/modbluetooth.c') diff --git a/extmod/modbluetooth.c b/extmod/modbluetooth.c index 68656551c..aecf48fd4 100644 --- a/extmod/modbluetooth.c +++ b/extmod/modbluetooth.c @@ -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 -- cgit v1.2.3