---
hardware/rigol-ds/api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hardware/rigol-ds/api.c b/hardware/rigol-ds/api.c
index ae14f06..706391f 100644
--- a/hardware/rigol-ds/api.c
+++ b/hardware/rigol-ds/api.c
@@ -488,7 +488,7 @@ static int dev_close(struct sr_dev_inst *sdi)
scpi = sdi->conn;
devc = sdi->priv;
- if (devc->model->series->protocol >= PROTOCOL_V2)
+ if (devc->model->series->protocol == PROTOCOL_V2)
rigol_ds_config_set(sdi, ":KEY:LOCK DISABLE");
if (scpi) {
--
1.9.rc1
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel