X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-dmm%2Fapi.c;h=05c1c47e4e0204c2b53ec9f4d771a3eaaacb37fa;hb=refs%2Ftags%2Flibsigrok-0.2.1;hp=4e97336cc76b606a477f80d0a2ff2145468e2b47;hpb=a7a163a795c9ad8cb06b5fe5458d7c98c405bf5a;p=libsigrok.git diff --git a/hardware/uni-t-dmm/api.c b/hardware/uni-t-dmm/api.c index 4e97336c..05c1c47e 100644 --- a/hardware/uni-t-dmm/api.c +++ b/hardware/uni-t-dmm/api.c @@ -37,7 +37,6 @@ static const int32_t hwcaps[] = { SR_CONF_CONTINUOUS, }; -SR_PRIV struct sr_dev_driver tecpel_dmm_8060_driver_info; SR_PRIV struct sr_dev_driver tecpel_dmm_8061_driver_info; SR_PRIV struct sr_dev_driver uni_t_ut60a_driver_info; SR_PRIV struct sr_dev_driver uni_t_ut60e_driver_info; @@ -48,13 +47,6 @@ SR_PRIV struct sr_dev_driver voltcraft_vc830_driver_info; SR_PRIV struct sr_dev_driver voltcraft_vc840_driver_info; SR_PRIV struct dmm_info udmms[] = { - { - "Tecpel", "DMM-8060", 2400, - FS9721_PACKET_SIZE, NULL, - sr_fs9721_packet_valid, sr_fs9721_parse, - NULL, - &tecpel_dmm_8060_driver_info, receive_data_TECPEL_DMM_8060, - }, { "Tecpel", "DMM-8061", 2400, FS9721_PACKET_SIZE, NULL, @@ -84,7 +76,16 @@ SR_PRIV struct dmm_info udmms[] = { &uni_t_ut61d_driver_info, receive_data_UNI_T_UT61D, }, { - "UNI-T", "UT61E", 19230, + /* + * Important: The actual baudrate of the Cyrustek ES51922 chip + * used in this DMM is 19230. However, the WCH CH9325 chip + * (UART to USB/HID) used in (some versions of) the UNI-T + * UT-D04 cable doesn't support 19230 baud. It only supports + * 19200, and setting an unsupported baudrate will result in + * the default of 2400 being used (which will not work with + * this DMM, of course). + */ + "UNI-T", "UT61E", 19200, ES51922_PACKET_SIZE, NULL, sr_es51922_packet_valid, sr_es51922_parse, NULL, @@ -359,7 +360,6 @@ SR_PRIV struct sr_dev_driver ID##_driver_info = { \ .priv = NULL, \ }; -DRV(tecpel_dmm_8060, TECPEL_DMM_8060, "tecpel-dmm-8060", "Tecpel DMM-8060") DRV(tecpel_dmm_8061, TECPEL_DMM_8061, "tecpel-dmm-8061", "Tecpel DMM-8061") DRV(uni_t_ut60a, UNI_T_UT60A, "uni-t-ut60a", "UNI-T UT60A") DRV(uni_t_ut60e, UNI_T_UT60E, "uni-t-ut60e", "UNI-T UT60E")