]> sigrok.org Git - libsigrok.git/commitdiff
serial-dmm: sort the list of device drivers (part 12, vc870)
authorGerhard Sittig <redacted>
Sat, 5 Nov 2016 16:54:29 +0000 (17:54 +0100)
committerUwe Hermann <redacted>
Sun, 6 Nov 2016 13:43:48 +0000 (14:43 +0100)
This commit puts 'vc870' meters into one group. Which completes the
series of commits which sort the list of supported serial DMMs.

src/hardware/serial-dmm/api.c

index 8047b09a3f79f3d01721a32fc4add020dbba50ec..aaf0066c75b2d339a769f68305d11588751d139a 100644 (file)
@@ -583,11 +583,15 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers,
                sr_ut71x_packet_valid, sr_ut71x_parse, NULL
        ),
        /* }}} */
-       /* meters based on other chips (to get sorted) */
+       /* vc870 based meters {{{ */
        DMM(
                "voltcraft-vc870-ser", vc870,
                "Voltcraft", "VC-870 (UT-D02 cable)", "9600/8n1/rts=0/dtr=1",
                9600, VC870_PACKET_SIZE, 0, 0, NULL,
                sr_vc870_packet_valid, sr_vc870_parse, NULL
        ),
+       /* }}} */
+       /*
+        * The list is sorted. Add new items in the respective chip's group.
+        */
 );