Adopted upstream changes to LFS_FILE_MAX
This commit is contained in:
@@ -67,10 +67,8 @@ typedef int32_t lfsr_sdid_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Maximum size of a file in bytes, may be redefined to limit to support other
|
// Maximum size of a file in bytes, may be redefined to limit to support other
|
||||||
// drivers. Limited on disk to <= 4294967296. However, above 2147483647 the
|
// drivers. Limited on disk to <= 2147483647. Stored in superblock and must be
|
||||||
// functions lfs_file_seek, lfs_file_size, and lfs_file_tell will return
|
// respected by other littlefs drivers.
|
||||||
// incorrect values due to using signed integers. Stored in superblock and
|
|
||||||
// must be respected by other littlefs drivers.
|
|
||||||
#ifndef LFS_FILE_MAX
|
#ifndef LFS_FILE_MAX
|
||||||
#define LFS_FILE_MAX 2147483647
|
#define LFS_FILE_MAX 2147483647
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user