X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.c;h=83eef0879c48c72cfdf812cc09ad5c6fe067b40b;hp=860c2ef9fc15db8f20cd46f3a84d37d258428ea1;hb=b46c4414825d1e8fb14a409bf21080974997fe57;hpb=9c9c1080ba34648ee1029978e07d6391ca8b5cbd 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;