]> sigrok.org Git - libsigrok.git/commitdiff
ftdi-la: do enter the error path upon VID:PID mismatch
authorGerhard Sittig <redacted>
Wed, 12 Jun 2019 21:58:24 +0000 (23:58 +0200)
committerGerhard Sittig <redacted>
Thu, 13 Jun 2019 17:38:06 +0000 (19:38 +0200)
Bug #1390 reports that "!desc" is always true (should be: false?). But
the actual problem would be that 'desc' is _not_ NULL when none of the
supported chips' VID:PID matched (FT232H happens to "get found" then,
erroneously).

Add a sentinel to the table of supported chips, such that 'desc' becomes
NULL upon mismatch, and the error path is entered.


No differences found