mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
storage: Make ramdisk use the global SECTOR_SIZE definition
Change-Id: I0c2fe75ea425107f1cd64acf42ff8c00cee07456
This commit is contained in:
parent
2824bd5f16
commit
000a575d13
1 changed files with 2 additions and 1 deletions
|
@ -22,9 +22,10 @@
|
|||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "fs_defines.h"
|
||||
#include "storage.h"
|
||||
|
||||
#define SECTOR_SIZE 512
|
||||
#define NUM_SECTORS 16384
|
||||
|
||||
static unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue