Skip to content

Commit 1c512c5

Browse files
committed
Update DriverPins.h
1 parent 08ad219 commit 1c512c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DriverPins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class DriverPins {
245245
void addI2C(PinsI2C pin) { i2c.push_back(pin); }
246246
void addI2C(PinFunction function, GpioPin scl, GpioPin sda, int port = -1,
247247
uint32_t frequency = 100000, TwoWire &wire = Wire) {
248-
PinsI2C pin(function, scl, sda, port, frequency);
248+
PinsI2C pin(function, scl, sda, port, frequency, wire);
249249
addI2C(pin);
250250
}
251251

0 commit comments

Comments
 (0)