Replace erroneous LFS_FILE_MAX upper bound 4294967296 to 4294967295

This commit is contained in:
Brian Pugh
2023-10-30 11:18:20 -07:00
parent 8f9427dd53
commit c531a5e88f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ typedef uint32_t lfs_block_t;
#endif
// 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 <= 4294967295. However, above 2147483647 the
// functions lfs_file_seek, lfs_file_size, and lfs_file_tell will return
// incorrect values due to using signed integers. Stored in superblock and
// must be respected by other littlefs drivers.