Skip to content

Commit d43449a

Browse files
committed
sparkfun samd51 thing plus: Fix board.I2C()
This had the SDA and SCL pins transposed, so nothing worked.
1 parent a7b36f7 commit d43449a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/atmel-samd/boards/sparkfun_samd51_thing_plus/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
#define BOARD_HAS_CRYSTAL 1
2020

21-
#define DEFAULT_I2C_BUS_SCL (&pin_PA22)
22-
#define DEFAULT_I2C_BUS_SDA (&pin_PA23)
21+
#define DEFAULT_I2C_BUS_SCL (&pin_PA23)
22+
#define DEFAULT_I2C_BUS_SDA (&pin_PA22)
2323

2424
#define DEFAULT_SPI_BUS_SCK (&pin_PB13)
2525
#define DEFAULT_SPI_BUS_MOSI (&pin_PB12)

0 commit comments

Comments
 (0)