mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-11 16:07:13 +00:00
strange extra edits removed wtf
This commit is contained in:
parent
d1cd686644
commit
385d7296fe
@ -564,8 +564,10 @@ void TFTDisplay::sendCommand(uint8_t com)
|
|||||||
#elif defined(ST7735_BL_V05)
|
#elif defined(ST7735_BL_V05)
|
||||||
pinMode(ST7735_BL_V05, OUTPUT);
|
pinMode(ST7735_BL_V05, OUTPUT);
|
||||||
digitalWrite(ST7735_BL_V05, TFT_BACKLIGHT_ON);
|
digitalWrite(ST7735_BL_V05, TFT_BACKLIGHT_ON);
|
||||||
#endif
|
#elif !defined(RAK14014) && !defined(M5STACK) && !defined(UNPHONE)
|
||||||
#if defined(TFT_BL) && defined(TFT_BACKLIGHT_ON)
|
tft->wakeup();
|
||||||
|
tft->powerSaveOff();
|
||||||
|
#elif defined(TFT_BL) && defined(TFT_BACKLIGHT_ON)
|
||||||
digitalWrite(TFT_BL, TFT_BACKLIGHT_ON);
|
digitalWrite(TFT_BL, TFT_BACKLIGHT_ON);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -595,10 +597,13 @@ void TFTDisplay::sendCommand(uint8_t com)
|
|||||||
#elif defined(ST7735_BL_V05)
|
#elif defined(ST7735_BL_V05)
|
||||||
pinMode(ST7735_BL_V05, OUTPUT);
|
pinMode(ST7735_BL_V05, OUTPUT);
|
||||||
digitalWrite(ST7735_BL_V05, !TFT_BACKLIGHT_ON);
|
digitalWrite(ST7735_BL_V05, !TFT_BACKLIGHT_ON);
|
||||||
#endif
|
#elif !defined(RAK14014) && !defined(M5STACK) && !defined(UNPHONE)
|
||||||
#if defined(TFT_BL) && defined(TFT_BACKLIGHT_ON)
|
tft->sleep();
|
||||||
|
tft->powerSaveOn();
|
||||||
|
#elif defined(TFT_BL) && defined(TFT_BACKLIGHT_ON)
|
||||||
digitalWrite(TFT_BL, !TFT_BACKLIGHT_ON);
|
digitalWrite(TFT_BL, !TFT_BACKLIGHT_ON);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VTFT_CTRL_V03
|
#ifdef VTFT_CTRL_V03
|
||||||
digitalWrite(VTFT_CTRL_V03, HIGH);
|
digitalWrite(VTFT_CTRL_V03, HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user