fix portduino

This commit is contained in:
Thomas Göttgens
2022-11-13 11:58:02 +01:00
parent b6de79b21a
commit 037d6c253b
4 changed files with 10 additions and 1 deletions

View File

@@ -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);