From 0cb22c6cf26c1cd512ac0ac50ede7bed8f15a02f Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Fri, 5 Jul 2013 07:53:46 +0000 Subject: [PATCH] [taranis] SD splash OK this time --- src/opentx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index e2f48d6b3..972213fdb 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -1600,9 +1600,9 @@ void doSplash() if (pwrCheck()==e_power_off) return; #if defined(PCBTARANIS) - if (!secondSplash && get_tmr10ms() >= tgtime-SPLASH_TIMEOUT/2) { + if (!secondSplash && get_tmr10ms() >= tgtime-200) { secondSplash = true; - uint8_t sdSplash[2+4*(LCD_W*LCD_H/8)]; + static uint8_t sdSplash[2+4*(LCD_W*LCD_H/8)]; if (!bmpLoad(sdSplash, BITMAPS_PATH "/splash.bmp", LCD_W, LCD_H)) { lcd_clear(); lcd_bmp(0, 0, sdSplash);