X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.c;h=029edbd76750bf378988e0388ba0a707cfa0c85f;hb=b02bb45f4cf6378520e5a5b82ff39013cfa270b6;hp=3c095e9cbd817f43d6105ff1ef490a1c8bef3960;hpb=401b83a154afafad09a66e5a4eedf106e8a3dd1f;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 3c095e9c..029edbd7 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -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;