]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/kingst-la2016/protocol.h
kingst-la2016: unconditionally construct MCU firmware filename
[libsigrok.git] / src / hardware / kingst-la2016 / protocol.h
index 11ee28347c19165add79ce3c4955ee79739c497d..37061c2c5ce8f7dbb9d3484b7a5138ffb6230962 100644 (file)
@@ -129,6 +129,7 @@ struct dev_context {
 
        /* Internal acquisition and download state. */
        gboolean trigger_involved;
+       gboolean frame_begin_sent;
        gboolean completion_seen;
        gboolean download_finished;
        uint32_t packets_per_chunk;
@@ -149,7 +150,7 @@ struct dev_context {
 };
 
 SR_PRIV int la2016_upload_firmware(const struct sr_dev_inst *sdi,
-       struct sr_context *sr_ctx, libusb_device *dev, uint16_t product_id);
+       struct sr_context *sr_ctx, libusb_device *dev, gboolean skip_upload);
 SR_PRIV int la2016_identify_device(const struct sr_dev_inst *sdi,
        gboolean show_message);
 SR_PRIV int la2016_init_hardware(const struct sr_dev_inst *sdi);