File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 72
72
STATIC const mp_rom_map_elem_t bitbangio_module_globals_table [] = {
73
73
{ MP_ROM_QSTR (MP_QSTR___name__ ), MP_ROM_QSTR (MP_QSTR_bitbangio ) },
74
74
{ MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& bitbangio_i2c_type ) },
75
+ #if CIRCUITPY_ONEWIREIO
75
76
{ MP_ROM_QSTR (MP_QSTR_OneWire ), MP_ROM_PTR (& onewireio_onewire_type ) },
77
+ #endif
76
78
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& bitbangio_spi_type ) },
77
79
};
78
80
Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ STATIC const mp_rom_map_elem_t busio_module_globals_table[] = {
73
73
{ MP_ROM_QSTR (MP_QSTR___name__ ), MP_ROM_QSTR (MP_QSTR_busio ) },
74
74
{ MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& busio_i2c_type ) },
75
75
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& busio_spi_type ) },
76
+ #if CIRCUITPY_ONEWIREIO
76
77
{ MP_ROM_QSTR (MP_QSTR_OneWire ), MP_ROM_PTR (& onewireio_onewire_type ) },
78
+ #endif
77
79
{ MP_ROM_QSTR (MP_QSTR_UART ), MP_ROM_PTR (& busio_uart_type ) },
78
80
};
79
81
You can’t perform that action at this time.
0 commit comments