X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fserial-dmm%2Fapi.c;h=ddb027c8c7e8cfbce0fed5f077fe2a39ca7018c2;hb=a3ec8a9aa15d466ce8804456dd252a57284c56d3;hp=bf1e695e5a0856b17fc7344b4fc1ae557a9b98cf;hpb=6d2e3070162cce8c45b3147190f217c0ecde10b5;p=libsigrok.git diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index bf1e695e..ddb027c8 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -85,7 +85,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) sr_info("Probing serial port %s.", conn); devices = NULL; - serial_flush(serial); /* Request a packet if the DMM requires this. */ if (dmm->packet_request) { @@ -419,6 +418,12 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, ), /* }}} */ /* fs9922 based meters {{{ */ + DMM( + "gwinstek-gdm-397", fs9922, + "GW Instek", "GDM-397", "2400/8n1/rts=0/dtr=1", + FS9922_PACKET_SIZE, 0, 0, NULL, + sr_fs9922_packet_valid, sr_fs9922_parse, NULL + ), DMM( "sparkfun-70c", fs9922, "SparkFun", "70C", "2400/8n1/rts=0/dtr=1",