mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 18:47:40 +00:00
Fix HAS_WIRE logic in main
This commit is contained in:
parent
00d4c011c7
commit
5b52c31a76
@ -387,7 +387,7 @@ void setup()
|
|||||||
// We need to scan here to decide if we have a screen for nodeDB.init() and because power has been applied to
|
// We need to scan here to decide if we have a screen for nodeDB.init() and because power has been applied to
|
||||||
// accessories
|
// accessories
|
||||||
auto i2cScanner = std::unique_ptr<ScanI2CTwoWire>(new ScanI2CTwoWire());
|
auto i2cScanner = std::unique_ptr<ScanI2CTwoWire>(new ScanI2CTwoWire());
|
||||||
#ifdef HAS_WIRE
|
#if HAS_WIRE
|
||||||
LOG_INFO("Scanning for i2c devices...\n");
|
LOG_INFO("Scanning for i2c devices...\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user