mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Fixed typo in LFS_MKTAG_IF_ELSE
This commit is contained in:
		
							
								
								
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							| @@ -269,7 +269,7 @@ typedef int32_t lfs_stag_t; | ||||
|     ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(LFS_FROM_NOOP, 0, 0)) | ||||
|  | ||||
| #define LFS_MKTAG_IF_ELSE(cond, type1, id1, size1, type2, id2, size2) \ | ||||
|     ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(type2, id2, size2)) | ||||
|     ((cond) ? LFS_MKTAG(type1, id1, size1) : LFS_MKTAG(type2, id2, size2)) | ||||
|  | ||||
| static inline bool lfs_tag_isvalid(lfs_tag_t tag) { | ||||
|     return !(tag & 0x80000000); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user