]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/korad-kaxxxxp/protocol.h
Introduce standard implementation of the dev_list() callback
[libsigrok.git] / src / hardware / korad-kaxxxxp / protocol.h
index 55dbc4c62a0a74ae80818b7789d42a639087edb5..307424a0200f1e27605aba18b9dbd221e94c5738 100644 (file)
@@ -40,6 +40,7 @@ enum {
        VELLEMAN_PS3005D,
        VELLEMAN_LABPS3005D,
        KORAD_KA3005P,
+       KORAD_KA3005P_0X01,
        /* Support for future devices with this protocol. */
 };
 
@@ -82,8 +83,6 @@ struct dev_context {
        int64_t req_sent_at;
        gboolean reply_pending;
 
-       void *cb_data;
-
        /* Operational state */
        float current;          /**< Last current value [A] read from device. */
        float current_max;      /**< Output current set. */