storage: Make ramdisk use the global SECTOR_SIZE definition

Change-Id: I0c2fe75ea425107f1cd64acf42ff8c00cee07456
This commit is contained in:
Solomon Peachy 2024-11-04 19:25:43 -05:00
parent 2824bd5f16
commit 000a575d13

View file

@ -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];