X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fprotocol.h;h=30b217dac12a3f3a44323a13bc33e529f99d2516;hb=17548571cc836edaf45e4707e74f6537605fc924;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..30b217da 100644 --- a/hardware/zeroplus-logic-cube/protocol.h +++ b/hardware/zeroplus-logic-cube/protocol.h @@ -52,9 +52,10 @@ 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[]; +extern const uint64_t zp_supported_samplerates_200[]; SR_PRIV unsigned int get_memory_size(int type); SR_PRIV int zp_set_samplerate(struct dev_context *devc, uint64_t samplerate);