diff --git a/pybricks/hubs/pb_module_hubs.c b/pybricks/hubs/pb_module_hubs.c index d47474e7c..af8a420e9 100644 --- a/pybricks/hubs/pb_module_hubs.c +++ b/pybricks/hubs/pb_module_hubs.c @@ -42,6 +42,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(pb_hubs_Hub_reset_reason_obj, pb_hubs_Hub_reset_reason STATIC const mp_rom_map_elem_t hubs_globals_table[] = { { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_hubs) }, + { MP_ROM_QSTR(MP_QSTR_ThisHub), MP_ROM_PTR(&pb_type_ThisHub) }, { MP_ROM_QSTR(PYBRICKS_HUB_CLASS_NAME), MP_ROM_PTR(&pb_type_ThisHub) }, #ifdef PYBRICKS_HUB_CLASS_NAME_ALIAS { MP_ROM_QSTR(PYBRICKS_HUB_CLASS_NAME_ALIAS), MP_ROM_PTR(&pb_type_ThisHub) },