mirror of
https://github.com/eclipse-threadx/filex.git
synced 2026-09-14 04:05:59 +08:00
Ensure proper RAM Disk sizing in the FileX sample.
This commit is contained in:
@@ -50,7 +50,7 @@ FX_FILE my_file;
|
|||||||
#ifndef FX_STANDALONE_ENABLE
|
#ifndef FX_STANDALONE_ENABLE
|
||||||
CHAR *ram_disk_memory;
|
CHAR *ram_disk_memory;
|
||||||
#else
|
#else
|
||||||
unsigned char ram_disk_memory[256*512];
|
unsigned char ram_disk_memory[TOTAL_SECTORS*SECTOR_SIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define ThreadX global data structures. */
|
/* Define ThreadX global data structures. */
|
||||||
|
|||||||
Reference in New Issue
Block a user