mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
LCD contrast was set before lcdInit on Taranis
This commit is contained in:
parent
7d85d40f68
commit
8200164797
1 changed files with 3 additions and 0 deletions
|
@ -3334,6 +3334,7 @@ inline void opentxInit(OPENTX_INIT_ARGS)
|
|||
#if defined(PCBTARANIS)
|
||||
CoTickDelay(100); //200ms
|
||||
lcdInit();
|
||||
lcdSetRefVolt(g_eeGeneral.contrast);
|
||||
BACKLIGHT_ON();
|
||||
CoTickDelay(20); //20ms
|
||||
Splash();
|
||||
|
@ -3509,7 +3510,9 @@ int main(void)
|
|||
g_menuStack[1] = menuModelSelect;
|
||||
#endif
|
||||
|
||||
#if !defined(PCBTARANIS)
|
||||
lcdSetRefVolt(25);
|
||||
#endif
|
||||
|
||||
sei(); // interrupts needed for telemetryInit and eeReadAll.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue