]> sigrok.org Git - libsigrok.git/commitdiff
serial-dmm: Fix Voltcraft VC-96 sorting.
authorUwe Hermann <redacted>
Mon, 18 Jun 2018 14:16:27 +0000 (16:16 +0200)
committerUwe Hermann <redacted>
Mon, 18 Jun 2018 14:30:04 +0000 (16:30 +0200)
src/hardware/serial-dmm/api.c

index f23e96caf7d19fae8a19d85ad25aa32afe0947d8..040531815cc79f60f374fc2563a8defaf0679560 100644 (file)
@@ -579,13 +579,6 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                2400, UT71X_PACKET_SIZE, 0, 0, NULL,
                sr_ut71x_packet_valid, sr_ut71x_parse, NULL
        ),
-       DMM(
-               "voltcraft-vc96", vc96,
-               "Voltcraft", "VC96", "1200/8n2", 1200,
-               VC96_PACKET_SIZE, 0, 0, NULL,
-               sr_vc96_packet_valid, sr_vc96_parse,
-               NULL
-       ),
        DMM(
                "uni-t-ut71c-ser", ut71x,
                "UNI-T", "UT71C (UT-D02 cable)", "2400/7o1/rts=0/dtr=1",
@@ -631,6 +624,15 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                sr_vc870_packet_valid, sr_vc870_parse, NULL
        ),
        /* }}} */
+       /* vc96 based meters {{{ */
+       DMM(
+               "voltcraft-vc96", vc96,
+               "Voltcraft", "VC-96", "1200/8n2", 1200,
+               VC96_PACKET_SIZE, 0, 0, NULL,
+               sr_vc96_packet_valid, sr_vc96_parse,
+               NULL
+       ),
+       /* }}} */
        /*
         * The list is sorted. Add new items in the respective chip's group.
         */