[Taranis] EEPROM async write was disabled

This commit is contained in:
Bertrand Songis
2016-08-27 17:05:56 +02:00
parent 508e3e899c
commit 3cb64d984a
4 changed files with 10 additions and 15 deletions
+5 -2
View File
@@ -84,7 +84,7 @@ void checkEeprom()
eepromWriteProcess();
else if (TIME_TO_WRITE())
storageCheck(false);
}
}
}
#else
void checkEeprom()
@@ -399,7 +399,10 @@ void perMain()
DEBUG_TIMER_STOP(debugTimerPerMain1);
event_t evt = getEvent(false);
if (evt && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) backlightOn(); // on keypress turn the light on
if (evt && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
// on keypress turn the light on
backlightOn();
}
doLoopCommonActions();
#if defined(NAVIGATION_STICKS)
uint8_t sticks_evt = getSticksNavigationEvent();