This patch takes care of removing an invalid product model (HMO2522)
and adds a missing product model (HMO3522) in the hameg-hmo driver,
thus extending the number of supported oscilloscope models.

It is a *partial* replacement for the following previously posted
patch:

Add support to configure the number of samples to acquire (hameg-hmo) v3

and it should be applied before the next version of such patch (v4).

Signed-off-by: Guido Trentalancia <gu...@trentalancia.com>
---
 src/hardware/hameg-hmo/protocol.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff -pru libsigrok-git-20102018-orig/src/hardware/hameg-hmo/protocol.c 
libsigrok-git-20102018-invalid-and-missing-product-models/src/hardware/hameg-hmo/protocol.c
--- libsigrok-git-20102018-orig/src/hardware/hameg-hmo/protocol.c       
2018-10-20 13:12:30.895966966 +0200
+++ 
libsigrok-git-20102018-invalid-and-missing-product-models/src/hardware/hameg-hmo/protocol.c
 2018-10-24 16:32:56.010109576 +0200
@@ -177,9 +177,9 @@ static const char *scope_digital_channel
 
 static const struct scope_config scope_models[] = {
        {
-               /* HMO2522/3032/3042/3052 support 16 digital channels but 
they're not supported yet. */
-               .name = {"HMO1002", "HMO722", "HMO1022", "HMO1522", "HMO2022", 
"HMO2522",
-                               "HMO3032", "HMO3042", "HMO3052", NULL},
+               /* HMO3032/3042/3052/3522 support 16 digital channels but 
they're not supported yet. */
+               .name = {"HMO1002", "HMO722", "HMO1022", "HMO1522", "HMO2022", 
"HMO3032",
+                               "HMO3042", "HMO3052", "HMO3522", NULL},
                .analog_channels = 2,
                .digital_channels = 8,
                .digital_pods = 1,


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to