From 1c512c501ef5fcd54056002eecaf1557c1d6bd1c Mon Sep 17 00:00:00 2001 From: FatherMarco1971 <56395249+FatherMarco1971@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:22:50 +0100 Subject: [PATCH] Update DriverPins.h --- src/DriverPins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DriverPins.h b/src/DriverPins.h index 5f85164..c690831 100644 --- a/src/DriverPins.h +++ b/src/DriverPins.h @@ -245,7 +245,7 @@ class DriverPins { void addI2C(PinsI2C pin) { i2c.push_back(pin); } void addI2C(PinFunction function, GpioPin scl, GpioPin sda, int port = -1, uint32_t frequency = 100000, TwoWire &wire = Wire) { - PinsI2C pin(function, scl, sda, port, frequency); + PinsI2C pin(function, scl, sda, port, frequency, wire); addI2C(pin); }