git.droids-corp.org
/
protos
/
xbee-avr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
704c313
)
sq latency
author
Olivier Matz
<zer0@droids-corp.org>
Tue, 6 May 2014 20:57:39 +0000
(22:57 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Tue, 6 May 2014 20:57:39 +0000
(22:57 +0200)
rc_proto.c
patch
|
blob
|
history
diff --git
a/rc_proto.c
b/rc_proto.c
index
4c09ac3
..
4b1ffb1
100644
(file)
--- a/
rc_proto.c
+++ b/
rc_proto.c
@@
-790,7
+790,7
@@
void rc_proto_dump_stats(void)
printf_P(PSTR(" servo_tx: %"PRIu32"\r\n"), peer_stats.servo_tx);
printf_P(PSTR(" stats_rx: %"PRIu32"\r\n"), peer_stats.stats_rx);
printf_P(PSTR(" stats_tx: %"PRIu32"\r\n"), peer_stats.stats_tx);
printf_P(PSTR(" servo_tx: %"PRIu32"\r\n"), peer_stats.servo_tx);
printf_P(PSTR(" stats_rx: %"PRIu32"\r\n"), peer_stats.stats_rx);
printf_P(PSTR(" stats_tx: %"PRIu32"\r\n"), peer_stats.stats_tx);
- if (stats.echo_ans_rx != 0) {
+ if (
peer_
stats.echo_ans_rx != 0) {
printf_P(PSTR(" echo_ans_latency_ms: %"PRIu32"\r\n"),
peer_stats.echo_ans_latency_sum / peer_stats.echo_ans_rx);
}
printf_P(PSTR(" echo_ans_latency_ms: %"PRIu32"\r\n"),
peer_stats.echo_ans_latency_sum / peer_stats.echo_ans_rx);
}