From c7a51272a58739c33f544eb84d9db94a2b7e8b45 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 19 Dec 2018 21:23:57 +0100 Subject: [PATCH] ftdi-la: added FT232H device ID --- src/hardware/ftdi-la/api.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/hardware/ftdi-la/api.c b/src/hardware/ftdi-la/api.c index b22e57f1..cee2f032 100644 --- a/src/hardware/ftdi-la/api.c +++ b/src/hardware/ftdi-la/api.c @@ -67,9 +67,20 @@ static const struct ftdi_chip_desc ft232r_desc = { } }; +static const struct ftdi_chip_desc ft232h_desc = { + .vendor = 0x0403, + .product = 0x6014, + .samplerate_div = 30, + .channel_names = { + "ADBUS0", "ADBUS1", "ADBUS2", "ADBUS3", "ADBUS4", "ADBUS5", "ADBUS6", "ADBUS7", + NULL + } +}; + static const struct ftdi_chip_desc *chip_descs[] = { &ft2232h_desc, &ft232r_desc, + &ft232h_desc, }; static void scan_device(struct ftdi_context *ftdic,