]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds: fix long memory depth setting on DS1000
authorAurelien Jacobs <redacted>
Sun, 6 Apr 2014 20:47:44 +0000 (22:47 +0200)
committerAurelien Jacobs <redacted>
Sun, 6 Apr 2014 20:47:44 +0000 (22:47 +0200)
hardware/rigol-ds/api.c

index 4d49be0b5da9c64a6cf1f484cd47f35e05096207..492b05ff21785dafb3dc2f2753d19025009b643e 100644 (file)
@@ -942,7 +942,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
 
        switch (devc->model->series->protocol) {
        case PROTOCOL_V2:
-               if (rigol_ds_config_set(sdi, ":ACQ:MDEP LONG") != SR_OK)
+               if (rigol_ds_config_set(sdi, ":ACQ:MEMD LONG") != SR_OK)
                        return SR_ERR;
                break;
        case PROTOCOL_V3: