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
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
mock-turtle
Commits
11c33316
Commit
11c33316
authored
Jul 30, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix-rmq-test'
parents
9b8b187f
2868d6fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
rmq-udp-send.c
tests/firmware/rmq-udp-send/rmq-udp-send.c
+2
-1
No files found.
tests/firmware/rmq-udp-send/rmq-udp-send.c
View file @
11c33316
...
...
@@ -5,9 +5,10 @@
static
void
send_pkt
(
int
rmq
,
unsigned
val
)
{
struct
trtl_fw_msg
msg
;
int
err
;
// queue full? wait
while
(
!
mq_claim
(
TRTL_RMQ
,
rmq
)
)
while
(
mq_claim
(
TRTL_RMQ
,
rmq
)
<
0
)
;
mq_map_out_message
(
TRTL_RMQ
,
rmq
,
&
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