summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-10-04 12:15:55 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-10-04 12:15:55 +0200
commitb9f64b3b59d3b1c05e33d9bc29954c8a3070df88 (patch)
treec949618dc02605e142a862d1f67b5b49cbd18f7f
parentf2be9e78a1ef6b81f11005fc46d60020b99868af (diff)
ds2482-100-readrom: use ABCDEF hex for chaosdorf foo compatibility
-rwxr-xr-xcommandline/examples/ds2482-100-readrom2
1 files changed, 1 insertions, 1 deletions
diff --git a/commandline/examples/ds2482-100-readrom b/commandline/examples/ds2482-100-readrom
index 173f39d..ed3c2aa 100755
--- a/commandline/examples/ds2482-100-readrom
+++ b/commandline/examples/ds2482-100-readrom
@@ -30,4 +30,4 @@ b2=$(vusb-i2cget 0x18 0xe1 0xe1)
vusb-i2cset 0x18 0x96 || echo "failed to initiate read"
b1=$(vusb-i2cget 0x18 0xe1 0xe1)
-printf "%02x%02x%02x%02x%02x%02x%02x%02x" $b1 $b2 $b3 $b4 $b5 $b6 $b7 $b8
+printf "%02X%02X%02X%02X%02X%02X%02X%02X" $b1 $b2 $b3 $b4 $b5 $b6 $b7 $b8