]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/siglent-sds/protocol.h
siglent-sds: Fix two memory leaks.
[libsigrok.git] / src / hardware / siglent-sds / protocol.h
index 0a7e5f3a0fb869433f91806b0280623428b9e11f..a68d16c65a4efcfb434fe225091b42ac5b4b1a60 100644 (file)
@@ -55,7 +55,6 @@ enum data_source {
 struct siglent_sds_vendor {
        const char *name;
        const char *full_name;
-       const char *usb_name;
 };
 
 struct siglent_sds_series {
@@ -106,8 +105,8 @@ struct dev_context {
        uint64_t analog_frame_size;
        uint64_t digital_frame_size;
        uint64_t num_samples;
-       long blockHeaderSize;
-       float sampleRate;
+       long block_header_size;
+       float samplerate;
 
        /* Device settings */
        gboolean analog_channels[MAX_ANALOG_CHANNELS];