mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-17 00:51:30 +10: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