From: Uwe Hermann Date: Fri, 25 Apr 2014 17:34:41 +0000 (+0200) Subject: session: Show unitsize of the received data. X-Git-Tag: libsigrok-0.3.0~62 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7ea458625c34c9c1c7da8431e8af55b9a6f3759c;p=libsigrok.git session: Show unitsize of the received data. --- diff --git a/session.c b/session.c index 1ba05cb6..cae9126e 100644 --- a/session.c +++ b/session.c @@ -507,8 +507,8 @@ static void datafeed_dump(const struct sr_datafeed_packet *packet) break; case SR_DF_LOGIC: logic = packet->payload; - sr_dbg("bus: Received SR_DF_LOGIC packet (%" PRIu64 " bytes).", - logic->length); + sr_dbg("bus: Received SR_DF_LOGIC packet (%" PRIu64 " bytes, " + "unitsize = %d).", logic->length, logic->unitsize); break; case SR_DF_ANALOG: analog = packet->payload;