X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fsession.c;h=158b33cf856a21e8f547982a4742d9cab918b4e2;hp=605ab2cc0d8cf1f5f8d677624afe0b53b4ff0779;hb=d40b8557a962;hpb=55c9f09dbc7edd24b0da8dda8837aff6a932e3c5 diff --git a/src/session.c b/src/session.c index 605ab2cc..158b33cf 100644 --- a/src/session.c +++ b/src/session.c @@ -663,6 +663,7 @@ static void datafeed_dump(const struct sr_datafeed_packet *packet) const struct sr_datafeed_analog *analog; const struct sr_datafeed_analog2 *analog2; + /* Please use the same order as in libsigrok.h. */ switch (packet->type) { case SR_DF_HEADER: sr_dbg("bus: Received SR_DF_HEADER packet.");