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
ac5ad82f
Commit
ac5ad82f
authored
Aug 17, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/fw: log sw triggers as well
parent
07c22eae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wrtd-rt-tdc.c
software/firmware/tdc/wrtd-rt-tdc.c
+2
-1
No files found.
software/firmware/tdc/wrtd-rt-tdc.c
View file @
ac5ad82f
...
...
@@ -90,7 +90,7 @@ static int wrtd_in_trigger_log(int type, int miss_reason,
msg
.
header
->
len
=
sizeof
(
struct
wrtd_log_entry
)
/
4
;
log
=
(
struct
wrtd_log_entry
*
)
msg
.
payload
;
log
->
type
=
type
;
log
->
channel
=
st
->
n
;
log
->
channel
=
st
?
st
->
n
:
-
1
;
log
->
miss_reason
=
miss_reason
;
log
->
seq
=
ent
->
seq
;
log
->
id
=
ent
->
id
;
...
...
@@ -292,6 +292,7 @@ static int wrtd_in_trigger_sw(struct trtl_fw_msg *msg_i, struct trtl_fw_msg *msg
/* Send trigger */
send_trigger
(
&
ent
);
wrtd_in_trigger_log
(
WRTD_LOG_SENT
,
0
,
NULL
,
&
ent
);
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