Commit f5d1ac96 authored by Federico Vaga's avatar Federico Vaga

wrtd:tools: separate channel information from device one

Actually, they are still together in the same structure but on the
application output we separate them to make it clear
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 0d51b769
......@@ -112,7 +112,6 @@ void dump_input_state(struct wrtd_input_state *state)
printf(" - Delay: %s\n", tmp );
printf(" - Tagged pulses: %-10d\n", state->tagged_pulses );
printf(" - Sent triggers: %-10d\n", state->sent_triggers );
printf(" - Sent packets: %-10d\n", state->sent_packets );
format_id(tmp, state->assigned_id);
printf(" - Assigned ID: %s\n",
......@@ -136,6 +135,8 @@ void dump_input_state(struct wrtd_input_state *state)
wrtd_strlogging_full(tmp, state->log_level);
printf(" - Log level: %s\n", tmp);
printf("Global Input information:\n");
printf(" - Sent packets: %-10d\n", state->sent_packets );
}
static int wrtd_cmd_state(struct wrtd_node *wrtd, int input,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment