Convert enum to sram_type_size to avoid warning

This commit is contained in:
twinaphex 2014-12-10 15:25:29 +01:00
parent 8bda867c2b
commit 4f7ff2b91d
1 changed files with 1 additions and 1 deletions

View File

@ -2125,7 +2125,7 @@ u32 load_backup(char *name)
// Could be either flash or SRAM, go with flash
case 0x10000:
backup_type = BACKUP_FLASH;
sram_size = (flash_size_type)FLASH_SIZE_64KB;
sram_size = (sram_size_type)FLASH_SIZE_64KB;
break;
case 0x20000: