From: Gerhard Sittig Date: Wed, 14 Sep 2022 17:52:48 +0000 (+0200) Subject: kingst-la2016: add another supported LA5016 model (bytes 0x0c 0x10) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1776a1976bfad64a5bdcc76d36be1efd2103e516;p=libsigrok.git kingst-la2016: add another supported LA5016 model (bytes 0x0c 0x10) User Daniel reports in bug #1799 that an LA5016 as of 2022-08 uses magic byte values which were not listed in earlier implementations. Add the very 12 (16) combination (in hex: 0x0c 0x10) which the user reported. As well as 12 (0) for good measure -- most other models have this "wildcard" entry, too. --- diff --git a/src/hardware/kingst-la2016/protocol.c b/src/hardware/kingst-la2016/protocol.c index e9a8cb0b..472fca72 100644 --- a/src/hardware/kingst-la2016/protocol.c +++ b/src/hardware/kingst-la2016/protocol.c @@ -54,6 +54,8 @@ static const struct kingst_model models[] = { { 0x08, 0x00, "LA2016", "la2016a1", SR_MHZ(200), 16, 1, 0, }, { 0x09, 0x00, "LA1016", "la1016a1", SR_MHZ(100), 16, 1, 0, }, { 0x0a, 0x00, "LA1010", "la1010a2", SR_MHZ(100), 16, 0, SR_MHZ(800), }, + { 0x0c, 0x10, "LA5016", "la5016a2", SR_MHZ(500), 16, 2, SR_MHZ(800), }, + { 0x0c, 0x00, "LA5016", "la5016a2", SR_MHZ(500), 16, 2, SR_MHZ(800), }, { 0x41, 0x00, "LA5016", "la5016a1", SR_MHZ(500), 16, 2, SR_MHZ(800), }, };