From c6b94478680a22e4659431773f67e361fb6c527c Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 15 Sep 2010 13:20:31 +0200 Subject: [PATCH] Fix decoding of FT(2|4)232H channel A type --- src/ftdi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ftdi.c b/src/ftdi.c index b9e3a00..aa85278 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -2844,7 +2844,7 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose) } else if ((ftdi->type == TYPE_2232H) ||(ftdi->type == TYPE_4232H)) { - eeprom->high_current = buf[0x00] & HIGH_CURRENT_DRIVE_R; + eeprom->channel_a_type = buf[0x00] & 0x7; eeprom->channel_a_driver = buf[0x00] & DRIVER_VCP; eeprom->channel_b_type = buf[0x01] & 0x7; eeprom->channel_b_driver = buf[0x01] & DRIVER_VCP; -- 1.7.1