]> sigrok.org Git - libsigrok.git/commitdiff
Adjust session debugging to the new SR_DF_META packets.
authorBert Vermeulen <redacted>
Sun, 20 Jan 2013 15:37:23 +0000 (16:37 +0100)
committerBert Vermeulen <redacted>
Mon, 21 Jan 2013 22:32:49 +0000 (23:32 +0100)
session.c

index 440e3bd64970db1caab999e873b392f989f1b1d9..973fd15231250e04b18e233c43cbaf84a2818a25 100644 (file)
--- 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: