mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-14 17:25:10 +00:00
fix: T-Echo frontlight on at boot when using OLED UI (#6474)
This commit is contained in:
parent
ae88759059
commit
128c347c64
@ -128,11 +128,7 @@ bool EInkDisplay::connect()
|
|||||||
#ifdef PIN_EINK_EN
|
#ifdef PIN_EINK_EN
|
||||||
// backlight power, HIGH is backlight on, LOW is off
|
// backlight power, HIGH is backlight on, LOW is off
|
||||||
pinMode(PIN_EINK_EN, OUTPUT);
|
pinMode(PIN_EINK_EN, OUTPUT);
|
||||||
#ifdef ELECROW_ThinkNode_M1
|
|
||||||
digitalWrite(PIN_EINK_EN, LOW);
|
digitalWrite(PIN_EINK_EN, LOW);
|
||||||
#else
|
|
||||||
digitalWrite(PIN_EINK_EN, HIGH);
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TTGO_T_ECHO) || defined(ELECROW_ThinkNode_M1)
|
#if defined(TTGO_T_ECHO) || defined(ELECROW_ThinkNode_M1)
|
||||||
|
Loading…
Reference in New Issue
Block a user