From 89a3d8af3a5f3a1d265ec396fdb3d4c9d69ee7c3 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 5 Nov 2016 17:54:29 +0100 Subject: [PATCH] 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. --- src/hardware/serial-dmm/api.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. + */ );