Skip to content

Commit 2d11b56

Browse files
authored
Merge commit from fork
Ensure proper RAM Disk sizing in the FileX sample.
2 parents 84d35d9 + 42b4ee9 commit 2d11b56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/demo_filex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ FX_FILE my_file;
5050
#ifndef FX_STANDALONE_ENABLE
5151
CHAR *ram_disk_memory;
5252
#else
53-
unsigned char ram_disk_memory[256*512];
53+
unsigned char ram_disk_memory[TOTAL_SECTORS*SECTOR_SIZE];
5454
#endif
5555

5656
/* Define ThreadX global data structures. */

0 commit comments

Comments
 (0)