Restore Model didn't work on gruvin9x board (cast missing on EEPROM version check)

This commit is contained in:
bsongis
2012-07-20 06:40:39 +00:00
parent 9dd2b9b1b1
commit 391f211015
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1008,8 +1008,8 @@ const pm_char * eeRestoreModel(uint8_t i_fileDst, char *model_name)
return SDCARD_ERROR(result);
}
if (buf[0] != g_eeGeneral.myVers) {
// TODO
if ((uint8_t)buf[0] != EEPROM_VER) {
// TODO conversions
f_close(&restoreFile);
return STR_INCOMPATIBLE;
}