@@ -283,16 +283,16 @@ static const mp_rom_map_elem_t mp_lcd_bus_locals_dict_table[] = {
283283MP_DEFINE_CONST_DICT (mp_lcd_bus_locals_dict , mp_lcd_bus_locals_dict_table );
284284
285285
286- static const mp_map_elem_t mp_module_lcd_bus_globals_table [] = {
287- { MP_ROM_QSTR (MP_QSTR___name__ ), MP_OBJ_NEW_QSTR (MP_QSTR_lcd_bus ) },
288- { MP_ROM_QSTR (MP_QSTR_RGBBus ), ( mp_obj_t ) & mp_lcd_rgb_bus_type },
289- { MP_ROM_QSTR (MP_QSTR_SPIBus ), ( mp_obj_t ) & mp_lcd_spi_bus_type },
290- { MP_ROM_QSTR (MP_QSTR_I2CBus ), ( mp_obj_t ) & mp_lcd_i2c_bus_type },
291- { MP_ROM_QSTR (MP_QSTR_I80Bus ), ( mp_obj_t ) & mp_lcd_i80_bus_type },
286+ static const mp_rom_map_elem_t mp_module_lcd_bus_globals_table [] = {
287+ { MP_ROM_QSTR (MP_QSTR___name__ ), MP_OBJ_NEW_QSTR (MP_QSTR_lcd_bus ) },
288+ { MP_ROM_QSTR (MP_QSTR_RGBBus ), MP_ROM_PTR ( & mp_lcd_rgb_bus_type ) },
289+ { MP_ROM_QSTR (MP_QSTR_SPIBus ), MP_ROM_PTR ( & mp_lcd_spi_bus_type ) },
290+ { MP_ROM_QSTR (MP_QSTR_I2CBus ), MP_ROM_PTR ( & mp_lcd_i2c_bus_type ) },
291+ { MP_ROM_QSTR (MP_QSTR_I80Bus ), MP_ROM_PTR ( & mp_lcd_i80_bus_type ) },
292292 { MP_ROM_QSTR (MP_QSTR__pump_main_thread ), MP_ROM_PTR (& mp_lcd_bus__pump_main_thread_obj ) },
293293
294294 #ifdef MP_PORT_UNIX
295- { MP_ROM_QSTR (MP_QSTR_SDLBus ), ( mp_obj_t ) & mp_lcd_sdl_bus_type },
295+ { MP_ROM_QSTR (MP_QSTR_SDLBus ), MP_ROM_PTR ( & mp_lcd_sdl_bus_type ) },
296296 #endif
297297 { MP_ROM_QSTR (MP_QSTR_DEBUG_ENABLED ), MP_ROM_INT (LCD_DEBUG ) },
298298
0 commit comments