From: Bert Vermeulen Date: Sun, 20 Jan 2013 15:37:23 +0000 (+0100) Subject: Adjust session debugging to the new SR_DF_META packets. X-Git-Tag: dsupstream~330 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c71bac3b98ace917533db91e682712105c3ccf45;p=libsigrok.git Adjust session debugging to the new SR_DF_META packets. --- diff --git a/session.c b/session.c index 440e3bd6..973fd152 100644 --- a/session.c +++ b/session.c @@ -392,20 +392,15 @@ static void datafeed_dump(const struct sr_datafeed_packet *packet) case SR_DF_TRIGGER: sr_dbg("bus: received SR_DF_TRIGGER"); break; - case SR_DF_META_LOGIC: - sr_dbg("bus: received SR_DF_META_LOGIC"); + case SR_DF_META: + sr_dbg("bus: received SR_DF_META"); break; case SR_DF_LOGIC: logic = packet->payload; - /* TODO: Check for logic != NULL. */ sr_dbg("bus: received SR_DF_LOGIC %" PRIu64 " bytes", logic->length); break; - case SR_DF_META_ANALOG: - sr_dbg("bus: received SR_DF_META_ANALOG"); - break; case SR_DF_ANALOG: analog = packet->payload; - /* TODO: Check for analog != NULL. */ sr_dbg("bus: received SR_DF_ANALOG %d samples", analog->num_samples); break; case SR_DF_END: