Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Mock Turtle
Commits
370b5008
Commit
370b5008
authored
May 25, 2016
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd:rt:out: fix check_output_timeout variable usage
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
c70fb510
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrtd-rt-fd.c
applications/wrtd/rt/fd/wrtd-rt-fd.c
+3
-3
No files found.
applications/wrtd/rt/fd/wrtd-rt-fd.c
View file @
370b5008
...
...
@@ -317,7 +317,7 @@ static int check_dead_time(struct wrtd_out_channel *out,
*/
static
int
check_output_timeout
(
struct
wrtd_out_channel
*
out
)
{
struct
lrt_pulse_queue
*
q
=
&
out
->
queue
;
struct
lrt_pulse_queue
*
q
=
&
out
->
priv
.
queue
;
struct
pulse_queue_entry
*
pq_ent
=
pulse_queue_front
(
q
);
struct
wr_timestamp
tc
;
int
delta
;
...
...
@@ -335,8 +335,8 @@ static int check_output_timeout (struct wrtd_out_channel *out)
pq_ent
->
trig
.
id
.
source_port
,
pq_ent
->
trig
.
id
.
trigger
);
pp_printf
(
"Offending TS: %d:%d"
,
out
->
last_programmed
.
seconds
,
out
->
last_programmed
.
ticks
);
out
->
stats
.
last_programmed
.
seconds
,
out
->
stats
.
last_programmed
.
ticks
);
}
delta
=
tc
.
seconds
-
out
->
stats
.
last_programmed
.
seconds
;
...
...
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