Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
LHC Instability Trigger Distribution LIST
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
LHC Instability Trigger Distribution LIST
Commits
9ec18b1b
Commit
9ec18b1b
authored
Jun 17, 2016
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib:input: improve sw trigger description
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
d67a04da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libwrtd-input.c
lib/libwrtd-input.c
+5
-2
No files found.
lib/libwrtd-input.c
View file @
9ec18b1b
...
...
@@ -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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment