X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fprotocol.h;h=ee710cd3b3c069f69722ed55fcc26dc6d2e19329;hb=f6a0ac9f6217f808d02f1c64a49c7ead3afb06e1;hp=7e34c5d34f58228d738133cd7e6e98ca382fbc40;hpb=e495a676ebda71cdcc39904ee28174ccba7ce2ae;p=libsigrok.git diff --git a/hardware/zeroplus-logic-cube/protocol.h b/hardware/zeroplus-logic-cube/protocol.h index 7e34c5d3..ee710cd3 100644 --- a/hardware/zeroplus-logic-cube/protocol.h +++ b/hardware/zeroplus-logic-cube/protocol.h @@ -52,10 +52,9 @@ struct dev_context { int trigger; unsigned int capture_ratio; struct sr_usb_dev_inst *usb; + const struct zp_model *prof; }; -extern const uint64_t zp_supported_samplerates[]; - SR_PRIV unsigned int get_memory_size(int type); SR_PRIV int zp_set_samplerate(struct dev_context *devc, uint64_t samplerate); SR_PRIV int set_limit_samples(struct dev_context *devc, uint64_t samples);