mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-08 22:29:03 -04:00
WIRE_INTERFACES_COUNT -> NO_WIRE
This commit is contained in:
1 parent
b6e197371d
commit
d3cbc8ea78
3 files changed
+4
-3
No files matched your search
+2
-2
@@ -67,7 +67,7 @@ Router *router = NULL; // Users of router don't care what sort of subclass imple
|
||||
// -----------------------------------------------------------------------------
|
||||
// Application
|
||||
// -----------------------------------------------------------------------------
|
||||
#if WIRE_INTERFACES_COUNT > 0
|
||||
#ifndef NO_WIRE
|
||||
void scanI2Cdevice(void)
|
||||
{
|
||||
byte err, addr;
|
||||
@@ -364,7 +364,7 @@ void setup()
|
||||
|
||||
#ifdef I2C_SDA
|
||||
Wire.begin(I2C_SDA, I2C_SCL);
|
||||
#elif WIRE_INTERFACES_COUNT > 0
|
||||
#elif !defined(NO_WIRE)
|
||||
Wire.begin();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user