diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-04 19:25:43 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-04 21:10:51 -0500 |
commit | 000a575d13d3b11a920361dda45fcfb63447317d (patch) | |
tree | 57e3397265d5b3631cdebac06a54eb53053e21b7 | |
parent | 2824bd5f1644a6b9129a0c0fcfe2bafab91a7225 (diff) | |
download | rockbox-000a575d13.tar.gz rockbox-000a575d13.zip |
storage: Make ramdisk use the global SECTOR_SIZE definition
Change-Id: I0c2fe75ea425107f1cd64acf42ff8c00cee07456
-rw-r--r-- | firmware/drivers/ramdisk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c index cecc943352..5798de252e 100644 --- a/firmware/drivers/ramdisk.c +++ b/firmware/drivers/ramdisk.c @@ -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]; |