forked from Imagelibrary/littlefs
Rbyd trees with 4-leaves now working, fixed lfs_rtag_flip bug
- This is when flips starts happening during lfs_rbyd_append - lfs_rtag_flip had an off-by-one math mistake
This commit is contained in:
@@ -74,7 +74,7 @@ def tagrepr(tag, size, off=None):
|
||||
return 'alt%s%s x%x %s' % (
|
||||
'r' if type1 & 1 else 'b',
|
||||
'gt' if type1 & 2 else 'lt',
|
||||
tag >> 3,
|
||||
tag & ~0x7,
|
||||
'x%x' % (0xffffffff & (off-size))
|
||||
if off is not None
|
||||
else '-%d' % off)
|
||||
|
||||
Reference in New Issue
Block a user