]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hameg-hmo/protocol.c
dmm: Convert to SR_DF_ANALOG.
[libsigrok.git] / src / hardware / hameg-hmo / protocol.c
index 3c095e9cbd817f43d6105ff1ef490a1c8bef3960..029edbd76750bf378988e0388ba0a707cfa0c85f 100644 (file)
@@ -68,10 +68,10 @@ static const uint32_t hmo_analog_devopts[] = {
 };
 
 static const char *hmo_coupling_options[] = {
-       "AC",
-       "ACL",
-       "DC",
-       "DCL",
+       "AC",  // AC with 50 Ohm termination (152x, 202x, 30xx, 1202)
+       "ACL", // AC with 1 MOhm termination
+       "DC",  // DC with 50 Ohm termination
+       "DCL", // DC with 1 MOhm termination
        "GND",
        NULL,
 };
@@ -570,6 +570,7 @@ SR_PRIV int hmo_scope_state_get(struct sr_dev_inst *sdi)
                sr_err("Could not determine array index for time base.");
                return SR_ERR;
        }
+       g_free(tmp_str);
 
        state->timebase = i;