git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c6b9447
)
Decoded max_power is in mA and 90 mA for TYPE_R and 100mA else
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 15 Sep 2010 14:19:53 +0000 (16:19 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:45 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
aa85278
..
61b7a75
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2214,7
+2214,7
@@
int ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, char * manufacturer,
eeprom->usb_version = 0x0101;
else
eeprom->usb_version = 0x0200;
- eeprom->max_power = 50;
+ eeprom->max_power = 100;
if (eeprom->manufacturer)
free (eeprom->manufacturer);
@@
-2248,7
+2248,7
@@
int ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, char * manufacturer,
if(ftdi->type == TYPE_R)
{
- eeprom->max_power = 45;
+ eeprom->max_power = 90;
eeprom->size = 0x80;
eeprom->cbus_function[0] = CBUS_TXLED;
eeprom->cbus_function[1] = CBUS_RXLED;