From 2d05415f2e4358838c5238d99ef67140ea238768 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 30 Aug 2015 20:30:32 +0200 Subject: [PATCH] scpi: Avoid using SR_OK_CONTINUE. --- src/scpi/helpers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/scpi/helpers.c b/src/scpi/helpers.c index d93d9e24..0fb1d401 100644 --- a/src/scpi/helpers.c +++ b/src/scpi/helpers.c @@ -74,8 +74,7 @@ SR_PRIV int scpi_cmd(const struct sr_dev_inst *sdi, const struct scpi_command *c if (!(cmd = scpi_cmd_get(cmdtable, command))) { /* Device does not implement this command, that's OK. */ - /* TODO: deprecate SR_OK_CONTINUE */ - return SR_OK_CONTINUE; + return SR_OK; } scpi = sdi->conn; @@ -98,7 +97,7 @@ SR_PRIV int scpi_cmd_resp(const struct sr_dev_inst *sdi, const struct scpi_comma if (!(cmd = scpi_cmd_get(cmdtable, command))) { /* Device does not implement this command, that's OK. */ - return SR_OK_CONTINUE; + return SR_OK; } scpi = sdi->conn;