Convert enum to sram_type_size to avoid warning
This commit is contained in:
parent
8bda867c2b
commit
4f7ff2b91d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue