mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
[Horus] Ram backup write should be working now. Still needs to be tested with a restore on WDT
This commit is contained in:
parent
52ebba3802
commit
04966868eb
5 changed files with 65 additions and 31 deletions
|
@ -86,8 +86,15 @@ void checkEeprom()
|
|||
#else
|
||||
void checkEeprom()
|
||||
{
|
||||
if (TIME_TO_WRITE())
|
||||
#if defined(RAMBACKUP)
|
||||
if (TIME_TO_RAMBACKUP()) {
|
||||
rambackupWrite();
|
||||
rambackupDirtyMsk = 0;
|
||||
}
|
||||
#endif
|
||||
if (TIME_TO_WRITE()) {
|
||||
storageCheck(false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue