mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Fixed typo in scripts/readtree.py
Not sure how this went unnoticed, I guess this is the first bug that needed in-depth inspection after the a last-minute argument cleanup in the debug scripts.
This commit is contained in:
		| @@ -106,7 +106,7 @@ def main(args): | |||||||
|             struct.unpack('<HH', superblock[1].data[0:4].ljust(4, b'\xff')))) |             struct.unpack('<HH', superblock[1].data[0:4].ljust(4, b'\xff')))) | ||||||
|     print("%-47s%s" % ("littlefs v%s.%s" % version, |     print("%-47s%s" % ("littlefs v%s.%s" % version, | ||||||
|         "data (truncated, if it fits)" |         "data (truncated, if it fits)" | ||||||
|         if not any([args.no_truncate, args.tags, args.log, args.all]) else "")) |         if not any([args.no_truncate, args.log, args.all]) else "")) | ||||||
|  |  | ||||||
|     # print gstate |     # print gstate | ||||||
|     print("gstate 0x%s" % ''.join('%02x' % c for c in gstate)) |     print("gstate 0x%s" % ''.join('%02x' % c for c in gstate)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user