git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0b76f23
)
FT2232C: show mode for B channel
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Tue, 29 Aug 2023 13:47:41 +0000 (15:47 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Tue, 29 Aug 2023 13:47:41 +0000 (15:47 +0200)
Idea by Yegor Yefremov. Thanks!
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
2fb3cf8
..
4b16468
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-3880,7
+3880,7
@@
int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose)
(eeprom->data_order)?"LSB":"MSB",
(eeprom->flow_control)?"":"No ");
}
- if ((ftdi->type == TYPE_2232H) || (ftdi->type == TYPE_4232H))
+ if ((ftdi->type == TYPE_2232H) || (ftdi->type == TYPE_4232H) || (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":"",