From bf700f679af2ad95c1272df47579b21212241718 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Thu, 5 Oct 2017 11:35:25 +0200 Subject: [PATCH] uni-t-ut32x: pre-set to default conn= spec The previous implementation of the UT32x driver expected to see a conn= spec, without it no device is found. Default to the USB identification of the CH9325 chip, to make the driver work out of the box. Users still can provide conn= specs and override the default for other cables. --- src/hardware/uni-t-ut32x/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/uni-t-ut32x/api.c b/src/hardware/uni-t-ut32x/api.c index 8c114975..b49080d0 100644 --- a/src/hardware/uni-t-ut32x/api.c +++ b/src/hardware/uni-t-ut32x/api.c @@ -55,7 +55,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) drvc = di->context; - conn = NULL; + conn = "1a86.e008"; for (l = options; l; l = l->next) { src = l->data; switch (src->key) { -- 2.30.2