From 6c6e5e47f0c405e8d5a1eb3684152a99d358ff0e Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 5 Nov 2016 17:32:53 +0100 Subject: [PATCH] serial-dmm: sort the list of device drivers (part 10, group ut71x) This commit puts 'ut71x' meters into one group. Item order is kept to reduce the diff size and simplify verification. --- src/hardware/serial-dmm/api.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 8ccc4c1a..05a7d0cb 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -515,13 +515,7 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, NULL ), /* }}} */ - /* meters based on other chips (to get sorted) */ - 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 - ), + /* ut71x based meters {{{ */ DMM( "voltcraft-vc920-ser", ut71x, "Voltcraft", "VC-920 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", @@ -588,4 +582,12 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, 2400, UT71X_PACKET_SIZE, 0, 0, NULL, sr_ut71x_packet_valid, sr_ut71x_parse, NULL ), + /* }}} */ + /* meters based on other chips (to get sorted) */ + 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 + ), );