File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,5 +46,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
46
46
47
47
{ MP_ROM_QSTR (MP_QSTR_SCL ), MP_ROM_PTR (& pin_PB06 ) },
48
48
{ MP_ROM_QSTR (MP_QSTR_SDA ), MP_ROM_PTR (& pin_PB07 ) },
49
+
50
+ { MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
49
51
};
50
52
MP_DEFINE_CONST_DICT (board_module_globals , board_module_globals_table );
Original file line number Diff line number Diff line change @@ -88,5 +88,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
88
88
{ MP_ROM_QSTR (MP_QSTR_LED2 ), MP_ROM_PTR (& pin_PE01 ) },
89
89
{ MP_ROM_QSTR (MP_QSTR_LED3 ), MP_ROM_PTR (& pin_PE02 ) },
90
90
{ MP_ROM_QSTR (MP_QSTR_LED4 ), MP_ROM_PTR (& pin_PE03 ) },
91
+
92
+ { MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
91
93
};
92
94
MP_DEFINE_CONST_DICT (board_module_globals , board_module_globals_table );
You can’t perform that action at this time.
0 commit comments