From b46c4414825d1e8fb14a409bf21080974997fe57 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 1 Feb 2012 03:03:30 +0100 Subject: [PATCH] cli: cleaned up debug output --- sigrok-cli.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; -- 2.30.2