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
80e0f4c8
Commit
80e0f4c8
authored
Jul 25, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tst:rmq: fix gcc warnings
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
767faabf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rmq-udp-send.c
tests/firmware/rmq-udp-send/rmq-udp-send.c
+2
-2
No files found.
tests/firmware/rmq-udp-send/rmq-udp-send.c
View file @
80e0f4c8
...
...
@@ -36,7 +36,6 @@ uint32_t rx_errors = 0;
void
send_reply
(
int
cpu_id
,
int
rmq
,
int
payload_len
)
{
struct
trtl_fw_msg
msg
;
int
i
;
// queue full? wait
if
(
!
mq_claim
(
TRTL_RMQ
,
rmq
))
...
...
@@ -119,7 +118,8 @@ void print_stats()
if
((
last_ts
==
0
)
||
(
ts
>=
(
last_ts
+
1000
)))
{
pp_printf
(
"Stats: RX %d, missed %d, errors %d
\n\r
"
,
rx_count
,
rx_missed
,
rx_errors
);
pp_printf
(
"Stats: RX %"
PRId32
", missed %"
PRId32
", errors %"
PRId32
"
\n\r
"
,
rx_count
,
rx_missed
,
rx_errors
);
last_ts
=
ts
;
}
}
...
...
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