Hi,

please find attached a patch for HMO3522. The oscilloscope is the 2 channel version of the HMO3524, which is already integrated into sigrok.

Regards

Gerd
diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c
index 059ae439..0e999b92 100644
--- a/src/hardware/hameg-hmo/protocol.c
+++ b/src/hardware/hameg-hmo/protocol.c
@@ -179,7 +179,7 @@ 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", "HMO3042", "HMO3052", "HMO3522", NULL},
 		.analog_channels = 2,
 		.digital_channels = 8,
 		.digital_pods = 1,
diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h
index 43220dd7..8797ca75 100644
--- a/src/hardware/hameg-hmo/protocol.h
+++ b/src/hardware/hameg-hmo/protocol.h
@@ -28,7 +28,7 @@
 
 #define LOG_PREFIX "hameg-hmo"
 
-#define MAX_INSTRUMENT_VERSIONS 10
+#define MAX_INSTRUMENT_VERSIONS 11
 #define MAX_COMMAND_SIZE 48
 #define MAX_ANALOG_CHANNEL_COUNT 4
 #define MAX_DIGITAL_CHANNEL_COUNT 16
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to