mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 18:31:37 +00:00
Add judgment on t-beam-s3-core to scanI2Cdevice in main.cpp
This commit is contained in:
parent
8d0e25fd82
commit
13e635b74e
@ -234,7 +234,11 @@ void setup()
|
||||
#endif
|
||||
|
||||
// We need to scan here to decide if we have a screen for nodeDB.init()
|
||||
scanI2Cdevice();
|
||||
// In T-Beam-S3-core, the I2C device cannot be scanned before power initialization, otherwise the device will be stuck
|
||||
if ((HW_VENDOR != HardwareModel_LILYGO_TBEAM_S3_CORE)) {
|
||||
scanI2Cdevice();
|
||||
}
|
||||
|
||||
#ifdef RAK4630
|
||||
// scanEInkDevice();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user