1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

[Horus] Refactoring for the new fatal errors

This commit is contained in:
Bertrand Songis 2016-08-30 19:00:31 +02:00
parent 855814655e
commit 82b9ecc155
25 changed files with 165 additions and 75 deletions

View file

@ -406,7 +406,9 @@ void perMain()
doLoopCommonActions();
#if defined(NAVIGATION_STICKS)
uint8_t sticks_evt = getSticksNavigationEvent();
if (sticks_evt) evt = sticks_evt;
if (sticks_evt) {
evt = sticks_evt;
}
#endif
#if defined(RAMBACKUP)
@ -419,6 +421,7 @@ void perMain()
#endif
#if !defined(EEPROM)
// In case the SD card is removed during the session
if (!SD_CARD_PRESENT()) {
lcd->clear();
lcdDrawText(LCD_W/2, LCD_H/2-20, STR_NO_SDCARD, DBLSIZE|CENTERED|TEXT_BGCOLOR);