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

View file

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