mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							| @@ -3900,7 +3900,7 @@ typedef struct lfs1_superblock { | |||||||
|  |  | ||||||
|  |  | ||||||
| /// Low-level wrappers v1->v2 /// | /// 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); |     *crc = lfs_crc(*crc, buffer, size); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user