X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.c;h=a13caad4ca6a072f5b932d5f01f3e134c146b78c;hp=860c2ef9fc15db8f20cd46f3a84d37d258428ea1;hb=50f3b1f9d39ba96ba44840f864f56ecfc0134141;hpb=9c9c1080ba34648ee1029978e07d6391ca8b5cbd diff --git a/sigrok-cli.c b/sigrok-cli.c index 860c2ef..a13caad 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,11 +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); - break; - case SR_DF_ANALOG: + g_message("cli: received SR_DF_LOGIC, %"PRIu64" bytes", logic->length); break; }