X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-dmm%2Fprotocol.h;h=f3f0d333cf0601f8135722b2b4129452a88358b8;hb=1740429d7045385866caafb0d2cbe302e7c74604;hp=2a76c1c1a93f90989d17ac6962db57e0ce216ff5;hpb=79081ec80c79801c439a1a3756cf5426af0739b8;p=libsigrok.git diff --git a/hardware/uni-t-dmm/protocol.h b/hardware/uni-t-dmm/protocol.h index 2a76c1c1..f3f0d333 100644 --- a/hardware/uni-t-dmm/protocol.h +++ b/hardware/uni-t-dmm/protocol.h @@ -36,6 +36,11 @@ #define sr_warn(s, args...) sr_warn(DRIVER_LOG_DOMAIN s, ## args) #define sr_err(s, args...) sr_err(DRIVER_LOG_DOMAIN s, ## args) +enum { + UNI_T_UT61D, + VOLTCRAFT_VC820, +}; + #define UT_D04_CABLE_USB_VID 0x1a86 #define UT_D04_CABLE_USB_DID 0xe008 @@ -61,6 +66,7 @@ struct dev_context { uint8_t protocol_buf[14]; }; -SR_PRIV int uni_t_dmm_receive_data(int fd, int revents, void *cb_data); +SR_PRIV int uni_t_ut61d_receive_data(int fd, int revents, void *cb_data); +SR_PRIV int voltcraft_vc820_receive_data(int fd, int revents, void *cb_data); #endif