From: Olivier Matz Date: Tue, 6 May 2014 20:57:39 +0000 (+0200) Subject: sq latency X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=commitdiff_plain;h=859f064e214825eceeef724007a52e96ea1fb407 sq latency --- diff --git a/rc_proto.c b/rc_proto.c index 4c09ac3..4b1ffb1 100644 --- 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); - 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); }