From: Gerhard Sittig Date: Tue, 11 Jun 2019 16:56:04 +0000 (+0200) Subject: serial-dmm: rename victor-dmm-ser entry, default to USB HID cable X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=03f169b36b1e91d15b3bc292d1dcd2b03c9b50c6;p=libsigrok.git serial-dmm: rename victor-dmm-ser entry, default to USB HID cable The serial-dmm entry for Victor DMMs is able to communicate to either geniune COM ports (RS232 or USB CDC) or the obfuscating USB HID cables. The victor-dmm driver became obsolete and was removed. Rename the serial-dmm entry, remove the no longer needed "-ser" suffix. Suggest a default connection via the obfuscating USB HID cable, accept user provided overrides for regular serial cables (same behaviour as before, connection spec for serial ports keeps being mandatory). --- diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 4de00e1c..da81bc90 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -443,10 +443,9 @@ SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, FS9922_PACKET_SIZE, 0, 0, NULL, sr_fs9922_packet_valid, sr_fs9922_parse, NULL ), - DMM( - "victor-dmm-ser", fs9922, - "Victor", "Victor DMMs (Mini-USB cable)", "2400/8n1", - FS9922_PACKET_SIZE, 0, 0, NULL, + DMM_CONN( + "victor-dmm", fs9922, "Victor", "Victor DMMs", + "hid/victor", "2400/8n1", FS9922_PACKET_SIZE, 0, 0, NULL, sr_fs9922_packet_valid, sr_fs9922_parse, NULL ), DMM(