mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
fix portduino
This commit is contained in:
@@ -247,8 +247,10 @@ void setup()
|
||||
powerStatus->observe(&power->newStatus);
|
||||
power->setup(); // Must be after status handler is installed, so that handler gets notified of the initial configuration
|
||||
|
||||
#if HAS_WIRE
|
||||
// We need to scan here to decide if we have a screen for nodeDB.init()
|
||||
scanI2Cdevice(Wire,0);
|
||||
#endif
|
||||
|
||||
#ifdef I2C_SDA1
|
||||
scanI2Cdevice(Wire1,1);
|
||||
|
||||
Reference in New Issue
Block a user