From: Thomas Jarosch Date: Tue, 29 Aug 2023 13:47:41 +0000 (+0200) Subject: FT2232C: show mode for B channel X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=7dfd1d076f14a1b2adbb31e6e8e46aa9f46ba579 FT2232C: show mode for B channel Idea by Yegor Yefremov. Thanks! --- diff --git a/src/ftdi.c b/src/ftdi.c index 2fb3cf8..4b16468 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3880,7 +3880,7 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose) (eeprom->data_order)?"LSB":"MSB", (eeprom->flow_control)?"":"No "); } - if ((ftdi->type == TYPE_2232H) || (ftdi->type == TYPE_4232H)) + if ((ftdi->type == TYPE_2232H) || (ftdi->type == TYPE_4232H) || (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":"",