Remove SR_INST_USBTMC which is no longer used.
This commit is contained in:
parent
ae1bc1cc26
commit
4b4474ed6a
|
@ -803,8 +803,6 @@ enum {
|
|||
SR_INST_USB = 10000,
|
||||
/** Device instance type for serial port devices. */
|
||||
SR_INST_SERIAL,
|
||||
/** Device instance type for USBTMC devices. */
|
||||
SR_INST_USBTMC,
|
||||
/** Device instance type for SCPI devices. */
|
||||
SR_INST_SCPI,
|
||||
};
|
||||
|
|
2
std.c
2
std.c
|
@ -215,8 +215,6 @@ SR_PRIV int std_dev_clear(const struct sr_dev_driver *driver,
|
|||
if (sdi->inst_type == SR_INST_USB)
|
||||
sr_usb_dev_inst_free(sdi->conn);
|
||||
#endif
|
||||
if (sdi->inst_type == SR_INST_USBTMC)
|
||||
sr_usbtmc_dev_inst_free(sdi->conn);
|
||||
if (sdi->inst_type == SR_INST_SCPI)
|
||||
sr_scpi_free(sdi->conn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue