From c5c6fa0f227f753be4f07c6dfe240ca62468ae08 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 18 Jun 2018 16:16:27 +0200 Subject: [PATCH] serial-dmm: Fix Voltcraft VC-96 sorting. --- 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 f23e96ca..04053181 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -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. */