git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
864bb3b
)
eeprom: Add channel_a_driver support for type xxR chips
author
Holger Mößinger
<h.moessinger@primes.de>
Wed, 5 Feb 2020 13:57:41 +0000 (14:57 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 13 Apr 2020 20:43:21 +0000 (22:43 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
d2f4ce4
..
7234229
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-3182,6
+3182,8
@@
int ftdi_eeprom_build(struct ftdi_context *ftdi)
output[0x00] = type2bit(eeprom->channel_a_type, TYPE_R);
if (eeprom->high_current == HIGH_CURRENT_DRIVE_R)
output[0x00] |= HIGH_CURRENT_DRIVE_R;
+ if (eeprom->channel_a_driver == DRIVER_VCP)
+ output[0x00] |= DRIVER_VCP;
if (eeprom->external_oscillator)
output[0x00] |= 0x02;
output[0x01] = 0x40; /* Hard coded Endpoint Size*/