Commit c213888f authored by Dimitris Lampridis's avatar Dimitris Lampridis

sw/lib: fix software trigger to include message payload with trigger id

parent 05da6271
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment