]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Remove invalid HMO2522, add missing HMO3522.
authorGuido Trentalancia <redacted>
Fri, 16 Nov 2018 17:39:36 +0000 (18:39 +0100)
committerUwe Hermann <redacted>
Thu, 25 Jul 2019 22:11:07 +0000 (00:11 +0200)
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.

This fixes bug #1322.

src/hardware/hameg-hmo/protocol.c

index f534cb4705c07042dfbeb5da562870a950c5f990..ae7cd4591c7dfe8693b642e9d309d6ec9f51e133 100644 (file)
@@ -177,9 +177,9 @@ static const char *scope_digital_channel_names[] = {
 
 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,