From 000a575d13d3b11a920361dda45fcfb63447317d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 4 Nov 2024 19:25:43 -0500 Subject: storage: Make ramdisk use the global SECTOR_SIZE definition Change-Id: I0c2fe75ea425107f1cd64acf42ff8c00cee07456 --- firmware/drivers/ramdisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include +#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]; -- cgit v1.2.3