mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
Formatting
This commit is contained in:
parent
d9ad2322e8
commit
94af3bd1ab
@ -1613,7 +1613,7 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver)
|
|||||||
PMU->enablePowerOutput(XPOWERS_ALDO2);
|
PMU->enablePowerOutput(XPOWERS_ALDO2);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HELTEC_TRACKER_V1_X
|
#ifdef HELTEC_TRACKER_V1_X
|
||||||
uint8_t tft_vext_enabled=digitalRead(VEXT_ENABLE);
|
uint8_t tft_vext_enabled = digitalRead(VEXT_ENABLE);
|
||||||
#endif
|
#endif
|
||||||
#if !ARCH_PORTDUINO
|
#if !ARCH_PORTDUINO
|
||||||
dispdev->displayOn();
|
dispdev->displayOn();
|
||||||
@ -1627,9 +1627,8 @@ void Screen::handleSetOn(bool on, FrameCallback einkScreensaver)
|
|||||||
dispdev->displayOn();
|
dispdev->displayOn();
|
||||||
#ifdef HELTEC_TRACKER_V1_X
|
#ifdef HELTEC_TRACKER_V1_X
|
||||||
// If the TFT VEXT power is not enabled, initialize the UI.
|
// If the TFT VEXT power is not enabled, initialize the UI.
|
||||||
if(!tft_vext_enabled)
|
if (!tft_vext_enabled) {
|
||||||
{
|
ui->init();
|
||||||
ui->init();
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_ST7789
|
#ifdef USE_ST7789
|
||||||
|
Loading…
Reference in New Issue
Block a user