X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fprotocol.h;h=ce06a8ce7c8472e8fbbaeb1a7ae8ff393e2bd0a1;hb=649a4cd672e5ea14707c4591dd0426fdd87ddd5a;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..ce06a8ce 100644 --- a/hardware/zeroplus-logic-cube/protocol.h +++ b/hardware/zeroplus-logic-cube/protocol.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrok project. * * Copyright (C) 2013 Uwe Hermann * @@ -51,11 +51,9 @@ struct dev_context { // uint8_t trigger_buffer[NUM_TRIGGER_STAGES]; 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);