mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 12:20:43 +00:00
This restores the previously-defined I2C pins that got lost in the cleanup (#7024) Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
parent
b6a13f1114
commit
26df4f8142
@ -179,7 +179,11 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
|||||||
#define I2C_NO_RESCAN // I2C is a bit finicky, don't scan too much
|
#define I2C_NO_RESCAN // I2C is a bit finicky, don't scan too much
|
||||||
#define WIRE_INTERFACES_COUNT 1
|
#define WIRE_INTERFACES_COUNT 1
|
||||||
|
|
||||||
#if !defined(XIAO_BLE_LEGACY_PINOUT) && !defined(GPS_L76K)
|
#if defined(XIAO_BLE_LEGACY_PINOUT)
|
||||||
|
// Used for I2C by DIY xiao_ble variant
|
||||||
|
#define PIN_WIRE_SDA D4
|
||||||
|
#define PIN_WIRE_SCL D5
|
||||||
|
#elif !defined(GPS_L76K)
|
||||||
// If D6 and D7 are free, I2C is probably the most versatile assignment
|
// If D6 and D7 are free, I2C is probably the most versatile assignment
|
||||||
#define PIN_WIRE_SDA D6
|
#define PIN_WIRE_SDA D6
|
||||||
#define PIN_WIRE_SCL D7
|
#define PIN_WIRE_SCL D7
|
||||||
|
Loading…
Reference in New Issue
Block a user