Commit 9ec18b1b authored by Federico Vaga's avatar Federico Vaga

lib:input: improve sw trigger description

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent d67a04da
......@@ -282,7 +282,10 @@ int wrtd_in_trigger_mode_set(struct wrtd_node *dev, unsigned int input,
/**
* Software-trigger the input at a given TAI value
* It generates a software trigger at a given TAI value. The TAI value that
* you provide to this function (trigger->ts) is considered as a delay
* from the current time. The current time means the time when the real-time
* application receive the software trigger command
* @param[in] dev device token
* @param[in] trigger trigger to enumlate
* @return 0 on success, -1 on error and errno is set appropriately
......@@ -290,7 +293,7 @@ int wrtd_in_trigger_mode_set(struct wrtd_node *dev, unsigned int input,
int wrtd_in_trigger_software(struct wrtd_node *dev,
struct wrtd_trigger_entry *trigger)
{
struct wrtd_desc *wrtd = (struct wrtd_desc *)dev;
struct wrtd_desc *wrtd = (struct wrtd_desc *)dev;
struct wrtd_trigger_entry ltrig = *trigger;
struct trtl_msg msg;
struct trtl_proto_header hdr = {
......
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