From 42b4ee916e49a49e92901df8d42e2d4683859918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Mon, 28 Jul 2025 13:55:01 -0400 Subject: [PATCH] Ensure proper RAM Disk sizing in the FileX sample. --- samples/demo_filex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/demo_filex.c b/samples/demo_filex.c index 2429300..aee5416 100644 --- a/samples/demo_filex.c +++ b/samples/demo_filex.c @@ -50,7 +50,7 @@ FX_FILE my_file; #ifndef FX_STANDALONE_ENABLE CHAR *ram_disk_memory; #else -unsigned char ram_disk_memory[256*512]; +unsigned char ram_disk_memory[TOTAL_SECTORS*SECTOR_SIZE]; #endif /* Define ThreadX global data structures. */