From: Gerhard Sittig Date: Sat, 5 Nov 2016 15:31:11 +0000 (+0100) Subject: serial-dmm: sort the list of device drivers (part 2, dtm0660) X-Git-Tag: libsigrok-0.5.0~186 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=440a374fe3799a72e1b244879490ba2814d2e74a;p=libsigrok.git serial-dmm: sort the list of device drivers (part 2, dtm0660) This commit puts 'dtm0660' meters into one group. --- diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 019bf209..165f3bb8 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -241,6 +241,20 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, NULL ), /* }}} */ + /* dtm0660 based meters {{{ */ + DMM( + "peaktech-3415", dtm0660, + "Peaktech", "3415", "2400/8n1/rts=0/dtr=1", + 2400, DTM0660_PACKET_SIZE, 0, 0, NULL, + sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL + ), + DMM( + "velleman-dvm4100", dtm0660, + "Velleman", "DVM4100", "2400/8n1/rts=0/dtr=1", + 2400, DTM0660_PACKET_SIZE, 0, 0, NULL, + sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL + ), + /* }}} */ /* meters based on other chips (to get sorted) */ DMM( "bbcgm-2010", metex14, @@ -557,18 +571,6 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse, NULL ), - DMM( - "velleman-dvm4100", dtm0660, - "Velleman", "DVM4100", "2400/8n1/rts=0/dtr=1", - 2400, DTM0660_PACKET_SIZE, 0, 0, NULL, - sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL - ), - DMM( - "peaktech-3415", dtm0660, - "Peaktech", "3415", "2400/8n1/rts=0/dtr=1", - 2400, DTM0660_PACKET_SIZE, 0, 0, NULL, - sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL - ), DMM( "peaktech-3330", fs9721, "Peaktech", "3330", "2400/8n1/dtr=1", 2400,