git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f456288
)
All x232 type have (at least) two USB channels
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Fri, 10 Sep 2010 09:17:46 +0000 (11:17 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:40 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
c0da71d
..
9ddac9d
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2718,7
+2718,7
@@
int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size,
channel_mode[eeprom->channel_a_type],
(eeprom->channel_a_driver)?" VCP":"",
(eeprom->high_current_a)?" High Currenr IO":"");
- if (ftdi->type == TYPE_2232C)
+ if (ftdi->type >= TYPE_2232C)
fprintf(stdout,"Channel B has Mode %s%s%s\n",
channel_mode[eeprom->channel_b_type],
(eeprom->channel_b_driver)?" VCP":"",