]> sigrok.org Git - libsigrok.git/commitdiff
ftdi-la: added FT232H device ID
authorPaul <redacted>
Wed, 19 Dec 2018 20:23:57 +0000 (21:23 +0100)
committerUwe Hermann <redacted>
Fri, 28 Dec 2018 12:01:03 +0000 (13:01 +0100)
src/hardware/ftdi-la/api.c

index b22e57f1a883f07572dd232c7c8534366c786f88..cee2f0328fdb0ee60f3abc37f35a0b3617261f7a 100644 (file)
@@ -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,