]> sigrok.org Git - libsigrok.git/commitdiff
scpi: Log responses received by sr_scpi_get_string().
authorMartin Ling <redacted>
Wed, 22 Jan 2014 00:14:42 +0000 (00:14 +0000)
committerBert Vermeulen <redacted>
Thu, 23 Jan 2014 00:42:33 +0000 (01:42 +0100)
hardware/common/scpi.c

index fbf6d9bdbc8793c8d6d2b979a6d980384e6b9ba1..29a24dd2ec61f645f597073295500026da991ba2 100644 (file)
@@ -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;
 }