]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/driver.h
sr_init/sr_exit: Improve docs, add error checks.
[libsigrok.git] / hardware / chronovu-la8 / driver.h
index 14f8b4153fcea1313d2538088129d06814a5f64f..39e360b60c4548da3e17e715e9f9570427ab9705 100644 (file)
 #define BS                             4096 /* Block size */
 #define NUM_BLOCKS                     2048 /* Number of blocks */
 
-/* Private driver context. */
-struct drv_context {
-       GSList *instances;
-};
-
 /* Private, per-device-instance driver context. */
 struct dev_context {
        /** FTDI device context (used by libftdi). */
@@ -120,7 +115,7 @@ SR_PRIV int la8_read(struct dev_context *devc, uint8_t *buf, int size);
 SR_PRIV int la8_close(struct dev_context *devc);
 SR_PRIV int la8_close_usb_reset_sequencer(struct dev_context *devc);
 SR_PRIV int la8_reset(struct dev_context *devc);
-SR_PRIV int configure_probes(struct dev_context *devc, const GSList *probes);
+SR_PRIV int configure_probes(const struct sr_dev_inst *sdi);
 SR_PRIV int set_samplerate(const struct sr_dev_inst *sdi, uint64_t samplerate);
 SR_PRIV int la8_read_block(struct dev_context *devc);
 SR_PRIV void send_block_to_session_bus(struct dev_context *devc, int block);