From: Yegor Yefremov Date: Tue, 29 Aug 2023 08:50:28 +0000 (+0200) Subject: FT4232: show mode for both C and D channels X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=0b76f232305f15d8615d0f15f9f8bdab8210567c FT4232: show mode for both C and D channels --- diff --git a/src/ftdi.c b/src/ftdi.c index 3d16674..2fb3cf8 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3885,6 +3885,13 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose) channel_mode[eeprom->channel_b_type], (eeprom->channel_b_driver)?" VCP":"", (eeprom->high_current_b)?" High Current IO":""); + if (ftdi->type == TYPE_4232H) + { + fprintf(stdout,"Channel C has Mode UART%s\n", + (eeprom->channel_c_driver)?" VCP":""); + fprintf(stdout,"Channel D has Mode UART%s\n", + (eeprom->channel_d_driver)?" VCP":""); + } if (((ftdi->type == TYPE_BM) || (ftdi->type == TYPE_2232C)) && eeprom->use_usb_version) fprintf(stdout,"Use explicit USB Version %04x\n",eeprom->usb_version);