1
0
Fork 0
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:
bsongis 2014-07-05 18:20:55 +02:00
parent 7d85d40f68
commit 8200164797

View file

@ -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.