Skip to content

Commit

Permalink
Took the real LFS 2.5.1. release, fixing spurious characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Yveaux committed Oct 1, 2023
1 parent 96cc90b commit e02744a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/littlefs-v2.5.1/lfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,7 @@ static int lfs_dir_splittingcompact(lfs_t *lfs, lfs_mdir_t *dir,
}

if (err) {
// whelp, we tried, if we ran out of space there's not much
// welp, we tried, if we ran out of space there's not much

Check failure on line 1989 in src/littlefs-v2.5.1/lfs.c

View workflow job for this annotation

GitHub Actions / spellcheck

welp ==> whelp
// we can do, we'll error later if we've become frozen
LFS_WARN("Unable to expand superblock");
} else {
Expand Down Expand Up @@ -2340,7 +2340,7 @@ static int lfs_dir_orphaningcommit(lfs_t *lfs, lfs_mdir_t *dir,
lfs_fs_prepmove(lfs, 0x3ff, NULL);
}

// replace bad pair, either we clean up desync, or no desync occurred
// replace bad pair, either we clean up desync, or no desync occured

Check failure on line 2343 in src/littlefs-v2.5.1/lfs.c

View workflow job for this annotation

GitHub Actions / spellcheck

occured ==> occurred
lpair[0] = pdir.pair[0];
lpair[1] = pdir.pair[1];
lfs_pair_tole32(ldir.pair);
Expand Down Expand Up @@ -5763,7 +5763,7 @@ lfs_ssize_t lfs_fs_size(lfs_t *lfs) {
LFS_TRACE("lfs_fs_size(%p)", (void*)lfs);

lfs_ssize_t res = lfs_fs_rawsize(lfs);
1989

LFS_TRACE("lfs_fs_size -> %"PRId32, res);
LFS_UNLOCK(lfs->cfg);
return res;
Expand Down Expand Up @@ -5814,3 +5814,4 @@ int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
return err;
}
#endif

0 comments on commit e02744a

Please sign in to comment.