From: Gerhard Sittig Date: Sat, 5 Nov 2016 16:54:29 +0000 (+0100) Subject: serial-dmm: sort the list of device drivers (part 12, vc870) X-Git-Tag: libsigrok-0.5.0~176 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=89a3d8af3a5f3a1d265ec396fdb3d4c9d69ee7c3;p=libsigrok.git serial-dmm: sort the list of device drivers (part 12, vc870) This commit puts 'vc870' meters into one group. Which completes the series of commits which sort the list of supported serial DMMs. --- diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 8047b09a..aaf0066c 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -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. + */ );