From c71bac3b98ace917533db91e682712105c3ccf45 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 20 Jan 2013 16:37:23 +0100 Subject: [PATCH] Adjust session debugging to the new SR_DF_META packets. --- session.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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: