session.c: Fix key order.

This commit is contained in:
Uwe Hermann 2015-08-28 16:10:15 +02:00
parent f7bcc68604
commit 55c9f09dbc
1 changed files with 10 additions and 10 deletions

View File

@ -667,12 +667,15 @@ static void datafeed_dump(const struct sr_datafeed_packet *packet)
case SR_DF_HEADER: case SR_DF_HEADER:
sr_dbg("bus: Received SR_DF_HEADER packet."); sr_dbg("bus: Received SR_DF_HEADER packet.");
break; break;
case SR_DF_TRIGGER: case SR_DF_END:
sr_dbg("bus: Received SR_DF_TRIGGER packet."); sr_dbg("bus: Received SR_DF_END packet.");
break; break;
case SR_DF_META: case SR_DF_META:
sr_dbg("bus: Received SR_DF_META packet."); sr_dbg("bus: Received SR_DF_META packet.");
break; break;
case SR_DF_TRIGGER:
sr_dbg("bus: Received SR_DF_TRIGGER packet.");
break;
case SR_DF_LOGIC: case SR_DF_LOGIC:
logic = packet->payload; logic = packet->payload;
sr_dbg("bus: Received SR_DF_LOGIC packet (%" PRIu64 " bytes, " sr_dbg("bus: Received SR_DF_LOGIC packet (%" PRIu64 " bytes, "
@ -683,20 +686,17 @@ static void datafeed_dump(const struct sr_datafeed_packet *packet)
sr_dbg("bus: Received SR_DF_ANALOG packet (%d samples).", sr_dbg("bus: Received SR_DF_ANALOG packet (%d samples).",
analog->num_samples); analog->num_samples);
break; break;
case SR_DF_ANALOG2:
analog2 = packet->payload;
sr_dbg("bus: Received SR_DF_ANALOG2 packet (%d samples).",
analog2->num_samples);
break;
case SR_DF_END:
sr_dbg("bus: Received SR_DF_END packet.");
break;
case SR_DF_FRAME_BEGIN: case SR_DF_FRAME_BEGIN:
sr_dbg("bus: Received SR_DF_FRAME_BEGIN packet."); sr_dbg("bus: Received SR_DF_FRAME_BEGIN packet.");
break; break;
case SR_DF_FRAME_END: case SR_DF_FRAME_END:
sr_dbg("bus: Received SR_DF_FRAME_END packet."); sr_dbg("bus: Received SR_DF_FRAME_END packet.");
break; break;
case SR_DF_ANALOG2:
analog2 = packet->payload;
sr_dbg("bus: Received SR_DF_ANALOG2 packet (%d samples).",
analog2->num_samples);
break;
default: default:
sr_dbg("bus: Received unknown packet type: %d.", packet->type); sr_dbg("bus: Received unknown packet type: %d.", packet->type);
break; break;