]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok: (Trivial) fix packet type in datafeed_dump
authorAlexandru Gagniuc <redacted>
Sat, 20 Oct 2012 01:31:19 +0000 (20:31 -0500)
committerBert Vermeulen <redacted>
Sat, 20 Oct 2012 21:03:51 +0000 (23:03 +0200)
datafeed_dump would print SR_DF_META_LOGIC when a SR_DF_META_ANALOG
was recieved. Fix that.

Signed-off-by: Alexandru Gagniuc <redacted>
session.c

index b1e3ebbbe8b1debde4f86a220b96c4e72f91c5da..828c2d346bfadc3d9ec02ec459d9ea4ba24df013 100644 (file)
--- a/session.c
+++ b/session.c
@@ -381,7 +381,7 @@ static void datafeed_dump(struct sr_datafeed_packet *packet)
                sr_dbg("bus: received SR_DF_LOGIC %" PRIu64 " bytes", logic->length);
                break;
        case SR_DF_META_ANALOG:
-               sr_dbg("bus: received SR_DF_META_LOGIC");
+               sr_dbg("bus: received SR_DF_META_ANALOG");
                break;
        case SR_DF_ANALOG:
                analog = packet->payload;