OSDN Git Service
(root)
/
stock
/
stock.osdn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08830a9
)
v2ezusb: config byte
author
Pawel Jewstafjew
<Pawel.Jewstafjew@gmail.com>
Thu, 22 Oct 2015 21:22:12 +0000
(22:22 +0100)
committer
Pawel Jewstafjew
<Pawel.Jewstafjew@gmail.com>
Thu, 22 Oct 2015 21:22:12 +0000
(22:22 +0100)
v2h/v2ezusb.py
patch
|
blob
|
history
diff --git
a/v2h/v2ezusb.py
b/v2h/v2ezusb.py
index
a2dbcaf
..
97b6599
100755
(executable)
--- a/
v2h/v2ezusb.py
+++ b/
v2h/v2ezusb.py
@@
-41,13
+41,13
@@
cfg_byte = int(sys.argv[3], 0x10)
assert(cfg_byte < 0x100)
print 'CFG:',
if cfg_byte & 0x80:
- print 'USB FS (12Mb)
device
',
+ print 'USB FS (12Mb)
,
',
else:
- print 'USB HS (480Mb)
device
',
+ print 'USB HS (480Mb)
,
',
if cfg_byte & 0x40:
- print 'DisConnected',
+ print 'DisConnected
,
',
else:
- print 'Connected',
+ print 'Connected
,
',
if cfg_byte & 0x01:
print 'I2C 400KHz'
else: