From: Guido Trentalancia Date: Fri, 16 Nov 2018 17:39:36 +0000 (+0100) Subject: hameg-hmo: Remove invalid HMO2522, add missing HMO3522. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=91525636a6a72341f4979ee64d0778d50646a0b9;p=libsigrok.git hameg-hmo: Remove invalid HMO2522, add missing HMO3522. 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. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index f534cb47..ae7cd459 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -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,