Heltec boards sensor and low power features update (#4418)

* Update sensor drive and low power features.

* Update ST7789 TFT control logic.

* Update Heltec nRF board low power features.

* Update the GPS UART port pointer
This commit is contained in:
Aaron.Lee
2024-08-13 19:30:35 +08:00
committed by GitHub
parent f97ae52263
commit 6e8300287b
9 changed files with 84 additions and 6 deletions

View File

@@ -278,6 +278,13 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
digitalWrite(LORA_CS, HIGH);
gpio_hold_en((gpio_num_t)LORA_CS);
}
#if defined(I2C_SDA)
Wire.end();
pinMode(I2C_SDA,ANALOG);
pinMode(I2C_SCL,ANALOG);
#endif
#endif
#ifdef HAS_PMU