sforkowany z mirror/meshtastic-firmware
fix build for RP2040 which actually has 2 TwoWire interfaces.
rodzic
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
|
Ładowanie…
Reference in New Issue