[stock128] No variant there!

This commit is contained in:
bsongis
2012-10-30 17:38:44 +00:00
parent 4ae4850820
commit 00390a6fd4
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -816,7 +816,7 @@ bool eeLoadGeneral()
if (theFile.readRlc((uint8_t*)&g_eeGeneral, 1) == 1 && g_eeGeneral.version == EEPROM_VER) {
theFile.openRlc(FILE_GENERAL);
if (theFile.readRlc((uint8_t*)&g_eeGeneral, sizeof(g_eeGeneral)) <= sizeof(EEGeneral)) {
#if defined(PCBSTD)
#if defined(M64)
if (g_eeGeneral.variant == EEPROM_VARIANT && g_eeGeneral.chkSum == evalChkSum()) {
return true;
}