]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-4032l/protocol.h
hantek-4032l: Get FGPA version.
[libsigrok.git] / src / hardware / hantek-4032l / protocol.h
index b95b711f84e27bba7aecdd9c25770e92b88d0b8d..f7fbdbda062968f8c3e07d6a92f1e63d0e1e6078 100644 (file)
@@ -126,6 +126,7 @@ struct dev_context {
        struct libusb_transfer *usb_transfer;
        uint8_t buffer[512];
        uint64_t capture_ratio;
+       uint32_t fpga_version;
 };
 
 SR_PRIV int h4032l_receive_data(int fd, int revents, void *cb_data);
@@ -133,5 +134,6 @@ SR_PRIV uint16_t h4032l_voltage2pwm(double voltage);
 SR_PRIV void LIBUSB_CALL h4032l_usb_callback(struct libusb_transfer *transfer);
 SR_PRIV int h4032l_start(const struct sr_dev_inst *sdi);
 SR_PRIV int h4032l_dev_open(struct sr_dev_inst *sdi);
+SR_PRIV int h4032l_get_fpga_version(const struct sr_dev_inst *sdi);
 
 #endif