X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fprotocol.h;h=771760ade609c8a7e2c2a556965c90401a3e1545;hb=1bec72d2ac388bd78c1c4e573431170c4ed97f8c;hp=07e04c2fb98d78733890e2d8890d2dd86f71c8ab;hpb=c50277a6ec09fb35de3a6e0f2ae3401bc72a1526;p=libsigrok.git diff --git a/hardware/chronovu-la8/protocol.h b/hardware/chronovu-la8/protocol.h index 07e04c2f..771760ad 100644 --- a/hardware/chronovu-la8/protocol.h +++ b/hardware/chronovu-la8/protocol.h @@ -64,8 +64,7 @@ struct dev_context { /** The current sampling limit (in number of samples). */ uint64_t limit_samples; - /** TODO */ - void *session_dev_id; + void *cb_data; /** * A buffer containing some (mangled) samples from the device. @@ -112,10 +111,9 @@ struct dev_context { }; /* protocol.c */ -extern SR_PRIV uint64_t supported_samplerates[]; -extern SR_PRIV const int hwcaps[]; -extern SR_PRIV const char *probe_names[]; -extern const struct sr_samplerates samplerates; +extern const int32_t chronovu_la8_hwcaps[]; +extern uint64_t chronovu_la8_samplerates[]; +extern SR_PRIV const char *chronovu_la8_probe_names[]; SR_PRIV void fill_supported_samplerates_if_needed(void); SR_PRIV int is_valid_samplerate(uint64_t samplerate); SR_PRIV uint8_t samplerate_to_divcount(uint64_t samplerate);