]> sigrok.org Git - libsigrok.git/commitdiff
Brymen BM25x: Drop unneeded _ser/_SER suffix.
authorUwe Hermann <redacted>
Sun, 2 Nov 2014 15:40:40 +0000 (16:40 +0100)
committerUwe Hermann <redacted>
Sun, 2 Nov 2014 15:40:40 +0000 (16:40 +0100)
There's only one cable for this DMM, thus there's no need for a
_ser/_SER suffix or for specifying the cable name.

src/drivers.c
src/hardware/serial-dmm/api.c
src/hardware/serial-dmm/protocol.c
src/hardware/serial-dmm/protocol.h

index 37a30ffb3fade5a9dcdecc837925c2be5d60e72f..9b970fcc06ef88935a89732f2c618cc8824dd2af 100644 (file)
@@ -166,7 +166,7 @@ extern SR_PRIV struct sr_dev_driver uni_t_ut71e_ser_driver_info;
 extern SR_PRIV struct sr_dev_driver iso_tech_idm103n_driver_info;
 extern SR_PRIV struct sr_dev_driver tenma_72_7745_ser_driver_info;
 extern SR_PRIV struct sr_dev_driver tenma_72_7750_ser_driver_info;
-extern SR_PRIV struct sr_dev_driver brymen_bm25x_ser_driver_info;
+extern SR_PRIV struct sr_dev_driver brymen_bm25x_driver_info;
 #endif
 #ifdef HAVE_HW_SYSCLK_LWLA
 extern SR_PRIV struct sr_dev_driver sysclk_lwla_driver_info;
@@ -362,7 +362,7 @@ SR_PRIV struct sr_dev_driver *drivers_list[] = {
        &iso_tech_idm103n_driver_info,
        &tenma_72_7745_ser_driver_info,
        &tenma_72_7750_ser_driver_info,
-       &brymen_bm25x_ser_driver_info,
+       &brymen_bm25x_driver_info,
 #endif
 #ifdef HAVE_HW_SYSCLK_LWLA
        &sysclk_lwla_driver_info,
index bdcabef0355aba42baa4917e8ff478b7018f03cc..70f05f2d52ccc8f7339a5b9a3eef9816ec452b71 100644 (file)
@@ -82,7 +82,7 @@ SR_PRIV struct sr_dev_driver uni_t_ut71e_ser_driver_info;
 SR_PRIV struct sr_dev_driver iso_tech_idm103n_driver_info;
 SR_PRIV struct sr_dev_driver tenma_72_7745_ser_driver_info;
 SR_PRIV struct sr_dev_driver tenma_72_7750_ser_driver_info;
-SR_PRIV struct sr_dev_driver brymen_bm25x_ser_driver_info;
+SR_PRIV struct sr_dev_driver brymen_bm25x_driver_info;
 
 SR_PRIV struct dmm_info dmms[] = {
        {
@@ -379,11 +379,11 @@ SR_PRIV struct dmm_info dmms[] = {
                &tenma_72_7750_ser_driver_info, receive_data_TENMA_72_7750_SER,
        },
        {
-               "Brymen", "BM25x (BC20X cable)", "9600/8n1/rts=1/dtr=1",
+               "Brymen", "BM25x", "9600/8n1/rts=1/dtr=1",
                9600, BRYMEN_BM25X_PACKET_SIZE, 0, 0, NULL,
                sr_brymen_bm25x_packet_valid, sr_brymen_bm25x_parse,
                NULL,
-               &brymen_bm25x_ser_driver_info, receive_data_BRYMEN_BM25X_SER,
+               &brymen_bm25x_driver_info, receive_data_BRYMEN_BM25X,
        },
 };
 
@@ -703,4 +703,4 @@ DRV(uni_t_ut71e_ser, UNI_T_UT71E_SER, "uni-t-ut71e-ser", "UNI-T UT71E (UT-D02 ca
 DRV(iso_tech_idm103n, ISO_TECH_IDM103N, "iso-tech-idm103n", "ISO-TECH IDM103N")
 DRV(tenma_72_7745_ser, TENMA_72_7745_SER, "tenma-72-7745-ser", "Tenma 72-7745 (UT-D02 cable)")
 DRV(tenma_72_7750_ser, TENMA_72_7750_SER, "tenma-72-7750-ser", "Tenma 72-7750 (UT-D02 cable)")
-DRV(brymen_bm25x_ser, BRYMEN_BM25X_SER, "brymen-bm25x-ser", "Brymen BM25x (BC20X cable)")
+DRV(brymen_bm25x, BRYMEN_BM25X, "brymen-bm25x", "Brymen BM25x")
index 6b34e2e4b027437aee84228f35a29df2dfb63559..03509fd29daa6aa08ed71fbfa069b8065f8753c7 100644 (file)
@@ -231,4 +231,4 @@ RECEIVE_DATA(UNI_T_UT71E_SER, ut71x)
 RECEIVE_DATA(ISO_TECH_IDM103N, es519xx)
 RECEIVE_DATA(TENMA_72_7745_SER, fs9721)
 RECEIVE_DATA(TENMA_72_7750_SER, es519xx)
-RECEIVE_DATA(BRYMEN_BM25X_SER, bm25x)
+RECEIVE_DATA(BRYMEN_BM25X, bm25x)
index b4ab0563d732f501290b4d8c44cec4abcd8ed5f7..8911dfcb3124589caae8a45e06ca3f547b39f1d1 100644 (file)
@@ -64,7 +64,7 @@ enum {
        ISO_TECH_IDM103N,
        TENMA_72_7745_SER,
        TENMA_72_7750_SER,
-       BRYMEN_BM25X_SER,
+       BRYMEN_BM25X,
 };
 
 struct dmm_info {
@@ -172,6 +172,6 @@ SR_PRIV int receive_data_UNI_T_UT71E_SER(int fd, int revents, void *cb_data);
 SR_PRIV int receive_data_ISO_TECH_IDM103N(int fd, int revents, void *cb_data);
 SR_PRIV int receive_data_TENMA_72_7745_SER(int fd, int revents, void *cb_data);
 SR_PRIV int receive_data_TENMA_72_7750_SER(int fd, int revents, void *cb_data);
-SR_PRIV int receive_data_BRYMEN_BM25X_SER(int fd, int revents, void *cb_data);
+SR_PRIV int receive_data_BRYMEN_BM25X(int fd, int revents, void *cb_data);
 
 #endif