Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
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
White Rabbit Trigger Distribution
Commits
f9ac16f3
Commit
f9ac16f3
authored
Aug 14, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:fw: fix action answer: must set a msg_id
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
4d1a6849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
wrtd-rt-fd.c
software/firmware/fd/wrtd-rt-fd.c
+7
-0
No files found.
software/firmware/fd/wrtd-rt-fd.c
View file @
f9ac16f3
...
...
@@ -771,6 +771,8 @@ static int wrtd_out_hash_table_insert(struct trtl_fw_msg *msg_i,
tlist_count
++
;
ht
[
hidx
]
=
&
triggers
[
tidx
];
msg_o
->
header
->
msg_id
=
msg_i
->
header
->
msg_id
;
out:
return
0
;
}
...
...
@@ -801,6 +803,8 @@ static int wrtd_out_hash_table_remove(struct trtl_fw_msg *msg_i,
tlist_count
--
;
ht
[
hidx
]
=
NULL
;
msg_o
->
header
->
msg_id
=
msg_i
->
header
->
msg_id
;
return
0
;
}
...
...
@@ -840,6 +844,7 @@ static int wrtd_out_trigger_index(struct trtl_fw_msg *msg_i,
return
-
1
;
}
msg_o
->
header
->
msg_id
=
WRTD_OUT_ACTION_TRIG_IDX
;
msg_o
->
header
->
len
=
1
;
return
0
;
...
...
@@ -859,6 +864,8 @@ static int wrtd_out_disable(struct trtl_fw_msg *msg_i,
pulse_queue_init
(
&
wrtd_out_channels
[
ch
].
priv
.
queue
);
fd_ch_writel
(
&
wrtd_out_channels
[
ch
],
FD_DCR_MODE
,
FD_REG_DCR
);
msg_o
->
header
->
msg_id
=
msg_i
->
header
->
msg_id
;
return
0
;
}
...
...
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