From: Alexandru Gagniuc Date: Sat, 20 Oct 2012 01:31:19 +0000 (-0500) Subject: libsigrok: (Trivial) fix packet type in datafeed_dump X-Git-Tag: dsupstream~656 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dfd8f56ef4a0ee1c353db5078d6d7d8b901ec21b;p=libsigrok.git libsigrok: (Trivial) fix packet type in datafeed_dump datafeed_dump would print SR_DF_META_LOGIC when a SR_DF_META_ANALOG was recieved. Fix that. Signed-off-by: Alexandru Gagniuc --- diff --git a/session.c b/session.c index b1e3ebbb..828c2d34 100644 --- 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;