Skip to content

Commit

Permalink
Merge pull request #207 from joltwallet/lfs-2.10.0
Browse files Browse the repository at this point in the history
Update LFS to v2.10.0
  • Loading branch information
BrianPugh authored Dec 12, 2024
2 parents 28639dd + 2c0017c commit 40f0fce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion test/test_littlefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ TEST_CASE("w+ mode read and write file", "[littlefs]")

TEST_CASE("can open maximum number of files", "[littlefs]")
{
size_t max_files = 61; /* account for stdin, stdout, stderr, esp-idf defaults to maximum 64 file descriptors */
size_t max_files = FOPEN_MAX - 3; /* account for stdin, stdout, stderr, esp-idf defaults to maximum 64 file descriptors */

test_setup();
test_littlefs_open_max_files("/littlefs/f", max_files);
test_teardown();
Expand Down
4 changes: 2 additions & 2 deletions test/test_littlefs_static_partition.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ TEST_CASE("grow filesystem", "[littlefs]")
.partition = (const esp_partition_t *) &partition,
};

uint32_t shrink_bytes;
size_t shrink_bytes;

/* Format a smaller partition */
{
Expand All @@ -158,7 +158,7 @@ TEST_CASE("grow filesystem", "[littlefs]")

/* Mount, ensure that it DOES grow */
{
uint32_t grow_bytes;
size_t grow_bytes;
conf.grow_on_mount = true;
TEST_ESP_OK(esp_vfs_littlefs_register(&conf));
TEST_ESP_OK(esp_littlefs_partition_info(&partition, &grow_bytes, NULL));
Expand Down

0 comments on commit 40f0fce

Please sign in to comment.