BREAKING: Swap Wire1 and Wire in Adafruit Feather (#1468)
Fixes #1465 The Adafruit Feather came onboard before the Wire swapping was supported in the core, so it's backwards from the real definition. Now that swapping is supported, fix it to match the rest of the boards.
This commit is contained in:
parent
3b4fb295ea
commit
cac9eb0cd7
1 changed files with 6 additions and 4 deletions
|
|
@ -30,10 +30,12 @@
|
|||
#define PIN_SPI1_SS (31u)
|
||||
|
||||
// Wire
|
||||
#define PIN_WIRE0_SDA (24u)
|
||||
#define PIN_WIRE0_SCL (25u)
|
||||
#define PIN_WIRE1_SDA (2u)
|
||||
#define PIN_WIRE1_SCL (3u)
|
||||
#define __WIRE0_DEVICE i2c1
|
||||
#define PIN_WIRE0_SDA (2u)
|
||||
#define PIN_WIRE0_SCL (3u)
|
||||
#define __WIRE1_DEVICE i2c0
|
||||
#define PIN_WIRE1_SDA (24u)
|
||||
#define PIN_WIRE1_SCL (25u)
|
||||
|
||||
#define SERIAL_HOWMANY (2u)
|
||||
#define SPI_HOWMANY (1u)
|
||||
|
|
|
|||
Loading…
Reference in a new issue