Make lfs1_crc static so it doesn't conflict with prefixed LFS1 code

When LFS1 code is present and LFS_MIGRATE is enabled
This commit is contained in:
Deomid "rojer" Ryabkov
2019-05-16 17:51:22 +01:00
parent f35fb8c148
commit 2533a0f6d6

2
lfs.c
View File

@@ -3900,7 +3900,7 @@ typedef struct lfs1_superblock {
/// Low-level wrappers v1->v2 ///
void lfs1_crc(uint32_t *crc, const void *buffer, size_t size) {
static void lfs1_crc(uint32_t *crc, const void *buffer, size_t size) {
*crc = lfs_crc(*crc, buffer, size);
}