Skip to content

Commit 7289b2a

Browse files
caveman99Copilot
andauthored
Update src/main.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9356be3 commit 7289b2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ void setup()
464464
#if !MESHTASTIC_EXCLUDE_I2C
465465
// The Sensecap Indicator hast I2C on the secondary MCU. Tunnel this as wire1
466466
#if defined(SENSECAP_INDICATOR)
467-
FakeI2C Wire1 = *FakeWire;
467+
FakeI2C& Wire1 = *FakeWire;
468468
Wire1.begin();
469469
#elif defined(I2C_SDA1) && defined(ARCH_RP2040)
470470
Wire1.setSDA(I2C_SDA1);

0 commit comments

Comments
 (0)