]> sigrok.org Git - libsigrok.git/commitdiff
uni-t-dmm: sort supported devices, sort in the es519xx group
authorGerhard Sittig <redacted>
Sat, 15 Jun 2019 21:55:39 +0000 (23:55 +0200)
committerGerhard Sittig <redacted>
Sun, 21 Aug 2022 15:45:11 +0000 (17:45 +0200)
Sort the items in the uni-t-dmm driver's es519xx group.

src/hardware/uni-t-dmm/api.c

index 1a74faed01743477c1c54e4cce186368eff901e9..8321f005cf508bec50fa50101639b1705fdf21d8 100644 (file)
@@ -178,6 +178,14 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi)
 
 SR_REGISTER_DEV_DRIVER_LIST(uni_t_dmm_drivers,
        /* {{{ es519xx */
+       DMM(
+               "tenma-72-7750", es519xx,
+               /* The baudrate is actually 19230, see "Note 1" below. */
+               "Tenma", "72-7750", 19200,
+               ES519XX_11B_PACKET_SIZE,
+               sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse,
+               NULL
+       ),
        DMM(
                "uni-t-ut60g", es519xx,
                /* The baudrate is actually 19230, see "Note 1" below. */
@@ -194,14 +202,6 @@ SR_REGISTER_DEV_DRIVER_LIST(uni_t_dmm_drivers,
                sr_es519xx_19200_14b_packet_valid, sr_es519xx_19200_14b_parse,
                NULL
        ),
-       DMM(
-               "tenma-72-7750", es519xx,
-               /* The baudrate is actually 19230, see "Note 1" below. */
-               "Tenma", "72-7750", 19200,
-               ES519XX_11B_PACKET_SIZE,
-               sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse,
-               NULL
-       ),
        /* }}} */
        /* {{{ fs9721 */
        DMM(