[Horus] Refactoring continued
This commit is contained in:
@@ -375,9 +375,9 @@ void storageCheck(bool immediately)
|
||||
|
||||
assert(eepromWriteState == EEPROM_IDLE);
|
||||
|
||||
if (s_storageDirtyMsk & EE_GENERAL) {
|
||||
if (storageDirtyMsk & EE_GENERAL) {
|
||||
TRACE("eeprom write general");
|
||||
s_storageDirtyMsk -= EE_GENERAL;
|
||||
storageDirtyMsk -= EE_GENERAL;
|
||||
writeGeneralSettings();
|
||||
if (immediately)
|
||||
eepromWriteWait();
|
||||
@@ -385,9 +385,9 @@ void storageCheck(bool immediately)
|
||||
return;
|
||||
}
|
||||
|
||||
if (s_storageDirtyMsk & EE_MODEL) {
|
||||
if (storageDirtyMsk & EE_MODEL) {
|
||||
TRACE("eeprom write model");
|
||||
s_storageDirtyMsk -= EE_MODEL;
|
||||
storageDirtyMsk -= EE_MODEL;
|
||||
writeModel(g_eeGeneral.currModel);
|
||||
if (immediately)
|
||||
eepromWriteWait();
|
||||
|
||||
Reference in New Issue
Block a user