From 4035b828313773af5e7245429a80c5c0c2ca15a6 Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Wed, 26 Jun 2013 08:15:35 +0000 Subject: [PATCH] [Taranis] LCD reset time now respected, init is reliable again --- src/opentx.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index 00be07a67..a5f9e098f 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -4227,8 +4227,10 @@ uint16_t stack_free() inline void opentxInit(OPENTX_INIT_ARGS) { #if defined(PCBTARANIS) + CoTickDelay(60); //120ms + lcdInit(); BACKLIGHT_ON(); - CoTickDelay(50); //100ms + CoTickDelay(20); //20ms Splash(); #endif @@ -4376,8 +4378,10 @@ int main(void) wdt_disable(); boardInit(); - + +#if !defined(PCBTARANIS) lcdInit(); +#endif stack_paint();