mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 09:59:01 +00:00
fix build for RP2040 which actually has 2 TwoWire interfaces.
This commit is contained in:
parent
52cf530356
commit
b6de79b21a
@ -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
|
||||
|
@ -2,6 +2,13 @@
|
||||
|
||||
#define ARCH_RP2040
|
||||
|
||||
#ifndef HAS_SCREEN
|
||||
#define HAS_SCREEN 1
|
||||
#endif
|
||||
#ifndef HAS_WIRE
|
||||
#define HAS_WIRE 1
|
||||
#endif
|
||||
|
||||
#if defined(PRIVATE_HW)
|
||||
#define HW_VENDOR HardwareModel_PRIVATE_HW
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user