From: Gerhard Sittig Date: Tue, 5 Jan 2021 07:10:21 +0000 (+0100) Subject: serial-dmm: move Mastek items after Metex in the model database X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3fa436bb48e96a811f0770279eb61ebabeed326c;p=libsigrok.git serial-dmm: move Mastek items after Metex in the model database Keep the alpha-sort order in the list of supported chips and models. --- diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 9e050af7..a97bbbf6 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -619,24 +619,6 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, NULL ), /* }}} */ - /* ms2115b based meters {{{ */ - DMM( - "mastech-ms2115b", ms2115b, - "MASTECH", "MS2115B", "1200/8n1", - MS2115B_PACKET_SIZE, 0, 0, NULL, - sr_ms2115b_packet_valid, sr_ms2115b_parse, - NULL - ), - /* }}} */ - /* ms8250d based meters {{{ */ - DMM( - "mastech-ms8250d", ms8250d, - "MASTECH", "MS8250D", "2400/8n1/rts=0/dtr=1", - MS8250D_PACKET_SIZE, 0, 0, NULL, - sr_ms8250d_packet_valid, sr_ms8250d_parse, - NULL - ), - /* }}} */ /* metex14 based meters {{{ */ DMM( "mastech-mas345", metex14, @@ -744,6 +726,24 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, NULL ), /* }}} */ + /* ms2115b based meters {{{ */ + DMM( + "mastech-ms2115b", ms2115b, + "MASTECH", "MS2115B", "1200/8n1", + MS2115B_PACKET_SIZE, 0, 0, NULL, + sr_ms2115b_packet_valid, sr_ms2115b_parse, + NULL + ), + /* }}} */ + /* ms8250d based meters {{{ */ + DMM( + "mastech-ms8250d", ms8250d, + "MASTECH", "MS8250D", "2400/8n1/rts=0/dtr=1", + MS8250D_PACKET_SIZE, 0, 0, NULL, + sr_ms8250d_packet_valid, sr_ms8250d_parse, + NULL + ), + /* }}} */ /* rs9lcd based meters {{{ */ DMM( "radioshack-22-812", rs9lcd,