aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-19 17:32:48 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-19 17:32:48 +0100
commit3b40439f3e3b22350bfd299fb14fc0f029709a28 (patch)
tree57380bab5d439bf53e1331581458ffde89048019
parent083d0480ddeffdfa9c73703e9e9d37f396a6c8d2 (diff)
edid-decode: report the physical address in hex
Report the physical address in hex, so it will look like f.f.f.f instead of 15.15.15.15. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--parse-cta-block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index 124b3e6..b85d87e 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -642,7 +642,7 @@ void edid_state::cta_hdmi_block(const unsigned char *x, unsigned length)
fail("Empty Data Block with length %u.\n", length);
return;
}
- printf(" Source physical address: %u.%u.%u.%u\n", x[3] >> 4, x[3] & 0x0f,
+ printf(" Source physical address: %x.%x.%x.%x\n", x[3] >> 4, x[3] & 0x0f,
x[4] >> 4, x[4] & 0x0f);
if (length < 6)

Privacy Policy