Commit 61d2d5db authored by Federico Vaga's avatar Federico Vaga

wrtd:lib: fix timestamp endianess conversion

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 06480e5f
......@@ -102,7 +102,7 @@ int wrtd_in_state_get(struct wrtd_node *dev, unsigned int input,
state->tagged_pulses = chan.stats.total_pulses;
state->sent_triggers = chan.stats.sent_pulses;
state->last_sent = chan.stats.last_sent;
wrtd_timestamp_endianess_fix(&state->last_sent);
wrtd_timestamp_endianess_fix(&state->last_sent.ts);
state->dead_time.seconds = 0;
state->dead_time.frac = 0;
......
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