diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-07-23 17:12:41 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-07-23 17:12:41 +0200 |
commit | fbff319f0a65e2d87a609f77a32b26ef200a5215 (patch) | |
tree | d08d05972b2b595500d2df307b85a751f6ad751d /instance.c | |
parent | f7504c3772512586c3178e26b6945a4064c070d7 (diff) | |
download | libsigrokdecode-fbff319f0a65e2d87a609f77a32b26ef200a5215.tar.gz libsigrokdecode-fbff319f0a65e2d87a609f77a32b26ef200a5215.zip |
Slightly more verbose logging in srd_inst_decode().
Diffstat (limited to 'instance.c')
-rw-r--r-- | instance.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -557,9 +557,11 @@ SRD_PRIV int srd_inst_decode(const struct srd_decoder_inst *di, PyObject *py_res; srd_logic *logic; - srd_dbg("Calling decode() on instance %s with %" PRIu64 " bytes " - "starting at sample %" PRIu64 ".", di->inst_id, inbuflen, - start_samplenum); + srd_dbg("Calling decode(), start sample %" PRIu64 ", end sample %" + PRIu64 " (%" PRIu64 " samples, %" PRIu64 " bytes, unitsize = " + "%d), instance %s.", start_samplenum, end_samplenum, + end_samplenum - start_samplenum, inbuflen, di->data_unitsize, + di->inst_id); /* Return an error upon unusable input. */ if (!di) { |