Skip to content

Commit 8e57285

Browse files
fix wire scl pin in opta analog and digital
1 parent 3e9f6d6 commit 8e57285

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

variants/OPTA_ANALOG/pins_arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extern "C" unsigned int PINCOUNT_fn();
7878
#define WIRE_SDA_PIN I2C_SDA
7979
#define WIRE_SCL_PIN I2C_SCL
8080
static const uint8_t SDA = WIRE_SDA_PIN;
81-
static const uint8_t SCL = WIRE_SDA_PIN;
81+
static const uint8_t SCL = WIRE_SCL_PIN;
8282
/* *************************** SPI CORE DEFINES **************************** */
8383
#define SPI_HOWMANY 1
8484
#define PIN_SPI_MOSI SPI_MOSI

variants/OPTA_DIGITAL/pins_arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static const uint8_t A15 = AN15;
144144
#define WIRE_SCL_PIN I2C_SCL
145145

146146
static const uint8_t SDA = WIRE_SDA_PIN;
147-
static const uint8_t SCL = WIRE_SDA_PIN;
147+
static const uint8_t SCL = WIRE_SCL_PIN;
148148

149149
/****** SPI CORE DEFINES ******/
150150

0 commit comments

Comments
 (0)