Skip to content

Commit

Permalink
Merge pull request #48 from geky-bot/lfs-v2.6.1
Browse files Browse the repository at this point in the history
Bring in littlefs v2.6.1
  • Loading branch information
geky authored May 23, 2023
2 parents 42678a5 + fac62ed commit ed22353
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions littlefs/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GitHub really wants to mark littlefs as a python project, telling it to
# reclassify our test .toml files as C code (which they are 95% of anyways)
# remedies this
*.toml linguist-language=c
2 changes: 1 addition & 1 deletion littlefs/lfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ static int lfs_dir_commitcrc(lfs_t *lfs, struct lfs_commit *commit) {

commit->off = noff;
// perturb valid bit?
commit->ptag = ntag ^ ((0x80 & ~eperturb) << 24);
commit->ptag = ntag ^ ((0x80UL & ~eperturb) << 24);
// reset crc for next commit
commit->crc = 0xffffffff;

Expand Down
1 change: 0 additions & 1 deletion littlefs/lfs_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// System includes
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>
#include <string.h>
#include <inttypes.h>

Expand Down

0 comments on commit ed22353

Please sign in to comment.