]> sigrok.org Git - libsigrok.git/commitdiff
serial-dmm: sort the list of device drivers (part 8, sort metex14)
authorGerhard Sittig <redacted>
Sat, 5 Nov 2016 16:01:39 +0000 (17:01 +0100)
committerUwe Hermann <redacted>
Sun, 6 Nov 2016 13:43:40 +0000 (14:43 +0100)
This commit sorts items in the 'metex14' group. This is separated from
collecting the group to reduce the diff size and simplify verification.

src/hardware/serial-dmm/api.c

index 3c80ec212a88811ef2006aedd5627769acd6d24d..4451b8ecb126287cf4b0842575c2909ab92976ff 100644 (file)
@@ -422,36 +422,36 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                NULL
        ),
        DMM(
-               "metex-me31", metex14,
-               "Metex", "ME-31", "600/7n2/rts=0/dtr=1", 600,
+               "mastech-mas345", metex14,
+               "MASTECH", "MAS345", "600/7n2/rts=0/dtr=1", 600,
                METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request,
                sr_metex14_packet_valid, sr_metex14_parse,
                NULL
        ),
        DMM(
-               "peaktech-3410", metex14,
-               "Peaktech", "3410", "600/7n2/rts=0/dtr=1", 600,
+               "metex-m3640d", metex14,
+               "Metex", "M-3640D", "1200/7n2/rts=0/dtr=1", 1200,
                METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request,
                sr_metex14_packet_valid, sr_metex14_parse,
                NULL
        ),
        DMM(
-               "mastech-mas345", metex14,
-               "MASTECH", "MAS345", "600/7n2/rts=0/dtr=1", 600,
+               "metex-m4650cr", metex14,
+               "Metex", "M-4650CR", "1200/7n2/rts=0/dtr=1", 1200,
                METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request,
                sr_metex14_packet_valid, sr_metex14_parse,
                NULL
        ),
        DMM(
-               "metex-m3640d", metex14,
-               "Metex", "M-3640D", "1200/7n2/rts=0/dtr=1", 1200,
+               "metex-me31", metex14,
+               "Metex", "ME-31", "600/7n2/rts=0/dtr=1", 600,
                METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request,
                sr_metex14_packet_valid, sr_metex14_parse,
                NULL
        ),
        DMM(
-               "metex-m4650cr", metex14,
-               "Metex", "M-4650CR", "1200/7n2/rts=0/dtr=1", 1200,
+               "peaktech-3410", metex14,
+               "Peaktech", "3410", "600/7n2/rts=0/dtr=1", 600,
                METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request,
                sr_metex14_packet_valid, sr_metex14_parse,
                NULL