From 7b9c0f885869b5bdebddde6ee63fe9c4ebb11f8b Mon Sep 17 00:00:00 2001 From: kou029w Date: Fri, 21 Apr 2017 19:08:24 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E3=81=AA=E5=B9=B3=E5=9D=87?= =?UTF-8?q?=E5=80=A4=E3=81=AB=E3=81=AA=E3=82=8B=E4=B8=8D=E5=85=B7=E5=90=88?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/k2ping.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k2ping.ino b/src/k2ping.ino index 9826334..99aa307 100644 --- a/src/k2ping.ino +++ b/src/k2ping.ino @@ -110,7 +110,7 @@ void ping_recv_cb(void *_option, void *_resp) { } if (errors + success >= opt->count) { - avg_time /= opt->count; + avg_time /= success; lcd.clear(); p((char*)"%4dbyte%3d%%loss", total_bytes, 100 * errors / opt->count); lcd.setCursor(0, 2);