summaryrefslogtreecommitdiff
path: root/instance.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2014-04-15 00:46:45 +0200
committerBert Vermeulen <bert@biot.com>2014-04-15 00:46:45 +0200
commit170d0e246f6b51900856bf1f89089162cd7ca2c2 (patch)
tree5dc348721f3531a5afcf53a47b72c49bdf4582e6 /instance.c
parent3195dc80c72c62a0f07816882f3b2a169986cf66 (diff)
downloadlibsigrokdecode-170d0e246f6b51900856bf1f89089162cd7ca2c2.tar.gz
libsigrokdecode-170d0e246f6b51900856bf1f89089162cd7ca2c2.zip
debug: Log unitsize when configuring channel map.
Diffstat (limited to 'instance.c')
-rw-r--r--instance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/instance.c b/instance.c
index dd943ee..83a6dfb 100644
--- a/instance.c
+++ b/instance.c
@@ -204,8 +204,8 @@ SRD_API int srd_inst_channel_set_all(struct srd_decoder_inst *di,
int *new_channelmap, new_channelnum, num_required_channels, i;
char *channel_id;
- srd_dbg("set channels called for instance %s with list of %d channels",
- di->inst_id, g_hash_table_size(new_channels));
+ srd_dbg("set channels called for instance %s with list of %d probes, "
+ "unitsize %d", di->inst_id, g_hash_table_size(new_channels), unit_size);
if (g_hash_table_size(new_channels) == 0)
/* No channels provided. */