Skip to content

Commit 17c47ac

Browse files
authored
Merge pull request #6358 from dupontgu/patch-2
Fix pin mapping for thing plus 2040
2 parents 03b1a02 + 02ec1ce commit 17c47ac

File tree

1 file changed

+2
-2
lines changed
  • ports/raspberrypi/boards/sparkfun_thing_plus_rp2040

1 file changed

+2
-2
lines changed

ports/raspberrypi/boards/sparkfun_thing_plus_rp2040/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
4646
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO27) },
4747
{ MP_ROM_QSTR(MP_QSTR_D27), MP_ROM_PTR(&pin_GPIO27) },
4848

49-
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO28) },
50-
{ MP_ROM_QSTR(MP_QSTR_D26), MP_ROM_PTR(&pin_GPIO28) },
49+
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO26) },
50+
{ MP_ROM_QSTR(MP_QSTR_D26), MP_ROM_PTR(&pin_GPIO26) },
5151

5252
// SD Card
5353
{ MP_ROM_QSTR(MP_QSTR_SD_SCK), MP_ROM_PTR(&pin_GPIO14)},

0 commit comments

Comments
 (0)