From 859f064e214825eceeef724007a52e96ea1fb407 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 6 May 2014 22:57:39 +0200 Subject: [PATCH] sq latency --- rc_proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5