]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/yokogawa-dlm/protocol_wrappers.c
yokogawa-dlm: Minor cosmetics, consistency fixes, typos.
[libsigrok.git] / src / hardware / yokogawa-dlm / protocol_wrappers.c
index 5f5b5bfab7478d6461b98980964f14513f571ff4..3bf98d5ccaddea3781b5c39533466e5ebdc7f14f 100644 (file)
@@ -192,7 +192,7 @@ int dlm_analog_chan_wrange_get(struct sr_scpi_dev_inst *scpi, int channel,
        int result;
 
        g_snprintf(cmd, sizeof(cmd), ":WAVEFORM:TRACE %d", channel);
-       result  = sr_scpi_send(scpi, cmd);
+       result = sr_scpi_send(scpi, cmd);
        result &= sr_scpi_get_float(scpi, ":WAVEFORM:RANGE?", response);
        return result;
 }
@@ -204,7 +204,7 @@ int dlm_analog_chan_woffs_get(struct sr_scpi_dev_inst *scpi, int channel,
        int result;
 
        g_snprintf(cmd, sizeof(cmd), ":WAVEFORM:TRACE %d", channel);
-       result  = sr_scpi_send(scpi, cmd);
+       result = sr_scpi_send(scpi, cmd);
        result &= sr_scpi_get_float(scpi, ":WAVEFORM:OFFSET?", response);
        return result;
 }
@@ -294,7 +294,8 @@ int dlm_chunks_per_acq_get(struct sr_scpi_dev_inst *scpi, int *response)
 {
        int result, acq_len;
 
-       /* Data retrieval queries such as :WAVEFORM:SEND? will only return
+       /*
+        * Data retrieval queries such as :WAVEFORM:SEND? will only return
         * up to 12500 samples at a time. If the oscilloscope operates in a
         * mode where more than 12500 samples fit on screen (i.e. in one
         * acquisition), data needs to be retrieved multiple times.