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
c213888f
Commit
c213888f
authored
Aug 15, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/lib: fix software trigger to include message payload with trigger id
parent
05da6271
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
libwrtd-input.c
software/lib/libwrtd-input.c
+2
-0
No files found.
software/lib/libwrtd-input.c
View file @
c213888f
...
...
@@ -284,6 +284,8 @@ int wrtd_in_trigger_software(struct wrtd_node *dev,
msg
.
hdr
.
flags
=
TRTL_HMQ_HEADER_FLAG_RPC
;
msg
.
hdr
.
len
=
sizeof
(
struct
wrtd_trigger_entry
)
/
4
;
memcpy
(
msg
.
data
,
trigger
,
sizeof
(
struct
wrtd_trigger_entry
));
/* Send the message and get answer */
return
wrtd_in_send_and_receive_sync
(
wrtd
,
&
msg
);
}
...
...
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