X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.c;h=f5d09a9681016e5d5cad482e25eb7c02e7eb457b;hp=b5cb4f35d3dc8d72c34827797d0ad7e5aa0dd84e;hb=8fae3e8eb966f221155519e8a7eaeb332057dcf0;hpb=5a1dcd55de579d5898f30e74f103e5f92156d0ad diff --git a/src/ftdi.c b/src/ftdi.c index b5cb4f3..f5d09a9 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -1532,10 +1532,10 @@ int ftdi_eeprom_build(struct ftdi_eeprom *eeprom, unsigned char *output) output[0x07] = 0x02; // Addr 08: Config descriptor -    // Bit 7: always 1 -    // Bit 6: 1 if this device is self powered, 0 if bus powered -    // Bit 5: 1 if this device uses remote wakeup -    // Bit 4: 1 if this device is battery powered + // Bit 7: always 1 + // Bit 6: 1 if this device is self powered, 0 if bus powered + // Bit 5: 1 if this device uses remote wakeup + // Bit 4: 1 if this device is battery powered j = 0x80; if (eeprom->self_powered == 1) j |= 0x40;