Initial support attempt for the Rohde&Schwarz RTC1000
mixed-signal digital storage oscilloscope (might need
testing).

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

diff -pru libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c 
libsigrok-git-rs-rtc1000/src/hardware/hameg-hmo/protocol.c
--- libsigrok-git-orig/src/hardware/hameg-hmo/protocol.c        2018-11-12 
20:17:20.003238702 +0100
+++ libsigrok-git-rs-rtc1000/src/hardware/hameg-hmo/protocol.c  2018-11-12 
20:17:58.523237329 +0100
@@ -107,7 +107,7 @@ static const char *logic_threshold[] = {
        "USER2", // overwritten by logic_threshold_custom, use USER1 for 
permanent setting
 };
 
-/* HMO compact2 */
+/* RTC1002 and HMO compact2 */
 static const char *an2_dig8_trigger_sources[] = {
        "CH1", "CH2",
        "LINE", "EXT", "PATT", "BUS1", "BUS2",
@@ -207,8 +207,8 @@ static const char *scope_digital_channel
 
 static const struct scope_config scope_models[] = {
        {
-               /* HMO722/1002/1022/1522/2022 support only 8 digital channels. 
*/
-               .name = {"HMO722", "HMO1002", "HMO1022", "HMO1522", "HMO2022", 
NULL},
+               /* RTC1002 and HMO722/1002/1022/1522/2022 support only 8 
digital channels. */
+               .name = {"RTC1002", "HMO722", "HMO1002", "HMO1022", "HMO1522", 
"HMO2022", NULL},
                .analog_channels = 2,
                .digital_channels = 8,
                .digital_pods = 1,
@@ -816,7 +816,7 @@ SR_PRIV int hmo_init_device(struct sr_de
        }
 
        if (model_index == -1) {
-               sr_dbg("Unsupported HMO device.");
+               sr_dbg("Unsupported device.");
                return SR_ERR_NA;
        }
 


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

Reply via email to