mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Adopted more conventional buffer parameter ordering
Adopted buffer followed by size. The other order was original chosen due to some other functions with a more complicated parameter list. This convention is important, as the bd api is one of the main apis facing porting efforts.
This commit is contained in:
		| @@ -33,7 +33,7 @@ static inline int lfs_scmp(uint32_t a, uint32_t b) { | ||||
|     return (int)(unsigned)(a - b); | ||||
| } | ||||
|  | ||||
| uint32_t lfs_crc(uint32_t crc, size_t size, const void *buffer); | ||||
| uint32_t lfs_crc(uint32_t crc, const void *buffer, size_t size); | ||||
|  | ||||
|  | ||||
| // Logging functions | ||||
|   | ||||
		Reference in New Issue
	
	Block a user