From: Bert Vermeulen Date: Sun, 30 Aug 2015 18:30:32 +0000 (+0200) Subject: scpi: Avoid using SR_OK_CONTINUE. X-Git-Tag: libsigrok-0.4.0~362 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2d05415f2e4358838c5238d99ef67140ea238768;p=libsigrok.git scpi: Avoid using SR_OK_CONTINUE. --- 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;