Wait for I2C power to stabilize on Heltec VME213; tidy variant folder (#4308)

* Tidy variant.h and pins_arduino.h (VME213)

* Wait for peripherals to stabilize after enabling I2C power
The 3.3V power for the I2C "quick link" connector is from Ve_3V3
This commit is contained in:
todd-herbert
2024-07-20 23:46:26 +12:00
committed by GitHub
parent f25644e8cf
commit 54df153e9e
3 changed files with 24 additions and 23 deletions

View File

@@ -308,6 +308,13 @@ void setup()
digitalWrite(RESET_OLED, 1);
#endif
#ifdef PERIPHERAL_WARMUP_MS
// Some peripherals may require additional time to stabilize after power is connected
// e.g. I2C on Heltec Vision Master
LOG_INFO("Waiting for peripherals to stabilize\n");
delay(PERIPHERAL_WARMUP_MS);
#endif
#ifdef BUTTON_PIN
#ifdef ARCH_ESP32