X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-dmm%2Fprotocol.h;h=a367336abae6bb2c7f31724df541aaec37e33ed4;hb=695d0e1efa819dc98914ce1baec388c8734e98a7;hp=4250c0e4107142cefdd0525025b255113fc0ea59;hpb=bbef5e326de1669b039413d8753fceda7281e936;p=libsigrok.git diff --git a/hardware/uni-t-dmm/protocol.h b/hardware/uni-t-dmm/protocol.h index 4250c0e4..a367336a 100644 --- a/hardware/uni-t-dmm/protocol.h +++ b/hardware/uni-t-dmm/protocol.h @@ -41,9 +41,10 @@ enum { UNI_T_UT61D, UNI_T_UT61E, VOLTCRAFT_VC820, + VOLTCRAFT_VC840, }; -#define DMM_COUNT 3 +#define DMM_COUNT 4 struct dmm_info { char *vendor; @@ -89,5 +90,6 @@ struct dev_context { SR_PRIV int receive_data_UNI_T_UT61D(int fd, int revents, void *cb_data); SR_PRIV int receive_data_UNI_T_UT61E(int fd, int revents, void *cb_data); SR_PRIV int receive_data_VOLTCRAFT_VC820(int fd, int revents, void *cb_data); +SR_PRIV int receive_data_VOLTCRAFT_VC840(int fd, int revents, void *cb_data); #endif