Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/debug.py')
-rwxr-xr-xscripts/debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/debug.py b/scripts/debug.py
index f8c0484..ba7525d 100755
--- a/scripts/debug.py
+++ b/scripts/debug.py
@@ -95,7 +95,7 @@ def main(*blocks):
print '%04x: %08x %-15s %3s %4s %-23s %-8s' % (
off, tag,
typeof(type) + (' bad!' if iscrc and ~crc else ''),
- id if id != 0x3ff else '.',
+ hex(id)[2:] if id != 0x3ff else '.',
size if size != 0x3ff else 'x',
' '.join('%02x' % ord(c) for c in data[:8]),
''.join(c if c >= ' ' and c <= '~' else '.' for c in data[:8]))