]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/kingst-la2016/protocol.h
kingst-la2016: rephrase sample data to session feed logic
[libsigrok.git] / src / hardware / kingst-la2016 / protocol.h
index 353176d3751fd18006a6a1fa382452e026601ea0..b0dc3d04845912d2f28535dd88cfb4fb218bb7a6 100644 (file)
@@ -122,14 +122,14 @@ struct dev_context {
        gboolean completion_seen;
        gboolean download_finished;
        struct capture_info info;
-       unsigned int n_transfer_packets_to_read; /* each with 5 acq packets */
-       unsigned int n_bytes_to_read;
-       unsigned int n_reps_until_trigger;
+       uint32_t n_transfer_packets_to_read; /* each with 5 acq packets */
+       uint32_t n_bytes_to_read;
+       uint32_t n_reps_until_trigger;
        gboolean trigger_marked;
        uint64_t total_samples;
        uint32_t read_pos;
 
-       unsigned int convbuffer_size;
+       size_t convbuffer_size;
        uint8_t *convbuffer;
        struct libusb_transfer *transfer;
 };