File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ports/raspberrypi/boards/adafruit_qtpy_rp2040 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
#include "shared-bindings/board/__init__.h"
2
2
3
- CIRCUITPY_BOARD_BUS_SINGLETON (qwiic_i2c , i2c , 1 )
3
+ CIRCUITPY_BOARD_BUS_SINGLETON (i2c_port , i2c , 1 )
4
4
5
5
STATIC const mp_rom_map_elem_t board_module_globals_table [] = {
6
6
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
@@ -50,6 +50,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
50
50
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& board_spi_obj ) },
51
51
{ MP_ROM_QSTR (MP_QSTR_UART ), MP_ROM_PTR (& board_uart_obj ) },
52
52
53
- { MP_ROM_QSTR (MP_QSTR_QWIIC_I2C ), MP_ROM_PTR (& board_qwiic_i2c_obj ) },
53
+ { MP_ROM_QSTR (MP_QSTR_QWIIC_I2C ), MP_ROM_PTR (& board_i2c_port_obj ) },
54
+ { MP_ROM_QSTR (MP_QSTR_STEMMA_I2C ), MP_ROM_PTR (& board_i2c_port_obj ) },
54
55
};
55
56
MP_DEFINE_CONST_DICT (board_module_globals , board_module_globals_table );
You can’t perform that action at this time.
0 commit comments