Skip to content

Commit 46b5ae4

Browse files
committed
Fixing compile errors
1 parent 9345d8a commit 46b5ae4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext_mod/lcd_bus/modlcd_bus.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,16 @@ static const mp_rom_map_elem_t mp_lcd_bus_locals_dict_table[] = {
283283
MP_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

Comments
 (0)