From: Bert Vermeulen Date: Wed, 1 Feb 2012 02:03:30 +0000 (+0100) Subject: cli: cleaned up debug output X-Git-Tag: sigrok-cli-0.3.0~52 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b46c4414825d1e8fb14a409bf21080974997fe57;p=sigrok-cli.git cli: cleaned up debug output --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 860c2ef..83eef08 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -387,8 +387,7 @@ static void datafeed_in(struct sr_device *device, struct sr_datafeed_packet *pac o = NULL; break; case SR_DF_TRIGGER: - g_message("cli: received SR_DF_TRIGGER at %"PRIu64" ms", - packet->timeoffset / 1000000); + g_message("cli: received SR_DF_TRIGGER"); if (o->format->event) o->format->event(o, SR_DF_TRIGGER, &output_buf, &output_len); @@ -397,9 +396,7 @@ static void datafeed_in(struct sr_device *device, struct sr_datafeed_packet *pac case SR_DF_LOGIC: logic = packet->payload; sample_size = logic->unitsize; - g_message("cli: received SR_DF_LOGIC at %f ms duration %f ms, %"PRIu64" bytes", - packet->timeoffset / 1000000.0, packet->duration / 1000000.0, - logic->length); + g_message("cli: received SR_DF_LOGIC, %"PRIu64" bytes", logic->length); break; case SR_DF_ANALOG: break;