X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;h=6204e85250cf658229f103e0b3d4d76629ac222e;hb=7047acc8e85b38713450e800037dbcddb1fa98ac;hp=11ee28347c19165add79ce3c4955ee79739c497d;hpb=038e65c1178b11323676194fcf921749364d704c;p=libsigrok.git diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index 11ee2834..6204e852 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -1,6 +1,7 @@ /* * This file is part of the libsigrok project. * + * Copyright (C) 2022 Gerhard Sittig * Copyright (C) 2020 Florian Schmidt * Copyright (C) 2013 Marcus Comstedt * Copyright (C) 2013 Bert Vermeulen @@ -129,6 +130,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 +151,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);