From: Martin Ling Date: Wed, 22 Jan 2014 00:14:42 +0000 (+0000) Subject: scpi: Log responses received by sr_scpi_get_string(). X-Git-Tag: libsigrok-0.3.0~207 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cf9f4bc5b0bf5ceef6ccfff7bdbf6b4ac2fd7486;p=libsigrok.git scpi: Log responses received by sr_scpi_get_string(). --- diff --git a/hardware/common/scpi.c b/hardware/common/scpi.c index fbf6d9bd..29a24dd2 100644 --- a/hardware/common/scpi.c +++ b/hardware/common/scpi.c @@ -319,6 +319,8 @@ SR_PRIV int sr_scpi_get_string(struct sr_scpi_dev_inst *scpi, *scpi_response = response->str; g_string_free(response, FALSE); + sr_spew("Got response: '%s'.", *scpi_response); + return SR_OK; }