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:
Earle F. Philhower, III 2023-05-23 09:57:28 -07:00 committed by GitHub
parent 3b4fb295ea
commit cac9eb0cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)