]> sigrok.org Git - libsigrok.git/commit
uni-t-ut32x: don't provide a default conn= spec in the driver source
authorGerhard Sittig <redacted>
Sun, 9 Jun 2019 16:28:48 +0000 (18:28 +0200)
committerGerhard Sittig <redacted>
Thu, 13 Jun 2019 17:33:01 +0000 (19:33 +0200)
commita89884c16c0ce6a00a5108c9e7c289dbc282f996
treeab7bfa20ff92039657f3266d7b7b426e907e1bea
parent97c8fa70dabaab121a1a2fc1256cf3a1297846f1
uni-t-ut32x: don't provide a default conn= spec in the driver source

This undoes the essence of commit bf700f679af2, which introduced the
default conn= spec. Which improved usability: Users just select the
device and need not specify the connection. But also resulted in the
UT32x thermometer driver's probe to "succeed" as soon as the WCH CH9325
chip was found, no data check was involved in the scan. Unfortunately
this chip is also used in the popular UT-D04 cable, and thus there were
many false positives.
src/hardware/uni-t-ut32x/api.c