From: Bert Vermeulen Date: Wed, 10 Sep 2014 20:55:50 +0000 (+0200) Subject: input: Add debug output. X-Git-Tag: libsigrok-0.4.0~1010 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=25f20faf0df4c2f124c4dea0786dc042fcd41ed3;p=libsigrok.git input: Add debug output. --- diff --git a/src/input/input.c b/src/input/input.c index a5182e2b..6bea92b5 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -512,6 +512,7 @@ SR_API struct sr_dev_inst *sr_input_dev_inst_get(const struct sr_input *in) */ SR_API int sr_input_send(const struct sr_input *in, GString *buf) { + sr_spew("Sending %d bytes to %s module.", buf->len, in->module->id); return in->module->receive(in, buf); }