Skip to content

Commit 3db7483

Browse files
authored
Fix typo in AtomS3U pins
G2 should be SDA based on https://docs.m5stack.com/en/core/AtomS3U
1 parent 94afcaa commit 3db7483

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/boards/m5stack_atoms3u

1 file changed

+1
-1
lines changed

ports/espressif/boards/m5stack_atoms3u/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
77
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO1) },
88
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO1) },
99

10-
{ MP_ROM_QSTR(MP_QSTR_PORTA_SCL), MP_ROM_PTR(&pin_GPIO2) },
10+
{ MP_ROM_QSTR(MP_QSTR_PORTA_SDA), MP_ROM_PTR(&pin_GPIO2) },
1111
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_GPIO2) },
1212
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_GPIO2) },
1313

0 commit comments

Comments
 (0)