sparkfun samd51 thing plus: Fix board.I2C()

This had the SDA and SCL pins transposed, so nothing worked.
This commit is contained in:
Jeff Epler 2020-06-22 10:17:44 -05:00
parent a7b36f724f
commit d43449a6d6

View File

@ -18,8 +18,8 @@
#define BOARD_HAS_CRYSTAL 1 #define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA22) #define DEFAULT_I2C_BUS_SCL (&pin_PA23)
#define DEFAULT_I2C_BUS_SDA (&pin_PA23) #define DEFAULT_I2C_BUS_SDA (&pin_PA22)
#define DEFAULT_SPI_BUS_SCK (&pin_PB13) #define DEFAULT_SPI_BUS_SCK (&pin_PB13)
#define DEFAULT_SPI_BUS_MOSI (&pin_PB12) #define DEFAULT_SPI_BUS_MOSI (&pin_PB12)