X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsaleae-logic16%2Fprotocol.h;fp=hardware%2Fsaleae-logic16%2Fprotocol.h;h=a13f1858e507e599df9c51b0a0aed159553bdb2e;hb=5eea4305ad108b8549257170985688004e65d00b;hp=0551712f1bdafab7ac0d4c2064ca7501e99fb675;hpb=f6a21fa50c3276eab4aacf61cae4ecfb16a98e73;p=libsigrok.git diff --git a/hardware/saleae-logic16/protocol.h b/hardware/saleae-logic16/protocol.h index 0551712f..a13f1858 100644 --- a/hardware/saleae-logic16/protocol.h +++ b/hardware/saleae-logic16/protocol.h @@ -36,6 +36,14 @@ /** Private, per-device-instance driver context. */ struct dev_context { + /* + * Since we can't keep track of a Logic16 device after upgrading + * the firmware (it renumerates into a different device address + * after the upgrade) this is like a global lock. No device will open + * until a proper delay after the last device was upgraded. + */ + int64_t fw_updated; + /** The currently configured samplerate of the device. */ uint64_t cur_samplerate; };