fix build for RP2040 which actually has 2 TwoWire interfaces.

This commit is contained in:
Thomas Göttgens
2022-11-12 17:50:33 +01:00
parent 52cf530356
commit b6de79b21a
2 changed files with 8 additions and 1 deletions

View File

@@ -221,5 +221,5 @@ void scanI2Cdevice(TwoWire myWire, uint8_t busnum)
DEBUG_MSG("%i I2C devices found\n",nDevices);
}
#else
void scanI2Cdevice() {}
void scanI2Cdevice(TwoWire myWire, uint8_t busnum) {}
#endif