Skip to content

Commit

Permalink
Merge pull request adafruit#5467 from evildave666/lolin_s2_mini_i2csi…
Browse files Browse the repository at this point in the history
…ngleton

Add i2c singleton for Lolin S2 Mini
  • Loading branch information
jepler authored Oct 15, 2021
2 parents 2d2d9b4 + 97e64eb commit 0df6146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/espressif/boards/lolin_s2_mini/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_IO45), MP_ROM_PTR(&pin_GPIO45) },// GPIO45
{ MP_ROM_QSTR(MP_QSTR_IO46), MP_ROM_PTR(&pin_GPIO46) },// GPIO46
*/
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) }, // board singleton implicit from schematic/shield standard
};
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 comments on commit 0df6146

Please sign in to comment.