]> sigrok.org Git - libsigrok.git/commitdiff
serial-dmm: move Mastek items after Metex in the model database
authorGerhard Sittig <redacted>
Tue, 5 Jan 2021 07:10:21 +0000 (08:10 +0100)
committerGerhard Sittig <redacted>
Tue, 5 Jan 2021 07:10:21 +0000 (08:10 +0100)
Keep the alpha-sort order in the list of supported chips and models.

src/hardware/serial-dmm/api.c

index 9e050af7706a598fdd00717b39dcd84d1c251b89..a97bbbf679453de1a00df3dffaf8231c2419dcf7 100644 (file)
@@ -619,24 +619,6 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                NULL
        ),
        /* }}} */
-       /* ms2115b based meters {{{ */
-       DMM(
-               "mastech-ms2115b", ms2115b,
-               "MASTECH", "MS2115B", "1200/8n1",
-               MS2115B_PACKET_SIZE, 0, 0, NULL,
-               sr_ms2115b_packet_valid, sr_ms2115b_parse,
-               NULL
-       ),
-       /* }}} */
-       /* ms8250d based meters {{{ */
-       DMM(
-               "mastech-ms8250d", ms8250d,
-               "MASTECH", "MS8250D", "2400/8n1/rts=0/dtr=1",
-               MS8250D_PACKET_SIZE, 0, 0, NULL,
-               sr_ms8250d_packet_valid, sr_ms8250d_parse,
-               NULL
-       ),
-       /* }}} */
        /* metex14 based meters {{{ */
        DMM(
                "mastech-mas345", metex14,
@@ -744,6 +726,24 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                NULL
        ),
        /* }}} */
+       /* ms2115b based meters {{{ */
+       DMM(
+               "mastech-ms2115b", ms2115b,
+               "MASTECH", "MS2115B", "1200/8n1",
+               MS2115B_PACKET_SIZE, 0, 0, NULL,
+               sr_ms2115b_packet_valid, sr_ms2115b_parse,
+               NULL
+       ),
+       /* }}} */
+       /* ms8250d based meters {{{ */
+       DMM(
+               "mastech-ms8250d", ms8250d,
+               "MASTECH", "MS8250D", "2400/8n1/rts=0/dtr=1",
+               MS8250D_PACKET_SIZE, 0, 0, NULL,
+               sr_ms8250d_packet_valid, sr_ms8250d_parse,
+               NULL
+       ),
+       /* }}} */
        /* rs9lcd based meters {{{ */
        DMM(
                "radioshack-22-812", rs9lcd,