]> sigrok.org Git - libsigrok.git/commitdiff
session: Show unitsize of the received data.
authorUwe Hermann <redacted>
Fri, 25 Apr 2014 17:34:41 +0000 (19:34 +0200)
committerUwe Hermann <redacted>
Fri, 25 Apr 2014 17:34:41 +0000 (19:34 +0200)
session.c

index 1ba05cb6d777a2a523693c50617a9f7c9809e8f9..cae9126e4a3aa45e8c78b2ffc2f3f4d99b960dcb 100644 (file)
--- 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;