From: Uwe Bonnes Date: Fri, 10 Sep 2010 09:17:46 +0000 (+0200) Subject: All x232 type have (at least) two USB channels X-Git-Tag: v1.0rc1~133^2~96 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=e5d95e9cf85c2b19b30c224cfe6c65d29b041e82 All x232 type have (at least) two USB channels --- diff --git a/src/ftdi.c b/src/ftdi.c index c0da71d..9ddac9d 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -2718,7 +2718,7 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size, channel_mode[eeprom->channel_a_type], (eeprom->channel_a_driver)?" VCP":"", (eeprom->high_current_a)?" High Currenr IO":""); - if (ftdi->type == TYPE_2232C) + if (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":"",