[Taranis] EEPROM is written 64bytes per main cycle, instead of completely written in one cycle

[Taranis] Channels count may go down to 4
This commit is contained in:
bsongis@gmail.com
2013-05-20 06:55:15 +00:00
parent c762e1bf65
commit 05569ef15a
7 changed files with 26 additions and 28 deletions
+6 -4
View File
@@ -3602,16 +3602,18 @@ void perMain()
if (Eeprom32_process_state != E32_IDLE)
ee32_process();
else if (TIME_TO_WRITE())
eeCheck();
eeCheck(false);
#elif defined(CPUARM)
if (TIME_TO_WRITE())
eeCheck();
if (theFile.isWriting())
theFile.nextWriteStep();
else if (TIME_TO_WRITE())
eeCheck(false);
#else
if (!eeprom_buffer_size) {
if (theFile.isWriting())
theFile.nextWriteStep();
else if (TIME_TO_WRITE())
eeCheck();
eeCheck(false);
}
#endif