[Horus] Use of SD buffers in RAM instead of CCM for loading bitmaps (they may only be loaded from the main thread now)

This commit is contained in:
Bertrand Songis
2016-03-02 07:33:31 +01:00
parent b5f6618238
commit 3e1d87d5b3
3 changed files with 31 additions and 34 deletions
+4 -6
View File
@@ -2553,10 +2553,6 @@ void opentxInit(OPENTX_INIT_ARGS)
storageReadAll();
#if defined(COLORLCD)
loadTheme();
#endif
#if defined(CPUARM)
if (UNEXPECTED_SHUTDOWN()) {
unexpectedShutdown = 1;
@@ -2596,6 +2592,10 @@ void opentxInit(OPENTX_INIT_ARGS)
rtcInit();
#endif
#if defined(COLORLCD)
loadTheme();
#endif
if (g_eeGeneral.backlightMode != e_backlight_mode_off) backlightOn(); // on Tx start turn the light on
if (UNEXPECTED_SHUTDOWN()) {
@@ -2635,8 +2635,6 @@ void opentxInit(OPENTX_INIT_ARGS)
startPulses();
wdt_enable(WDTO_500MS);
}
#if !defined(SIMU)