1
0
Fork 0
mirror of https://github.com/kou029w/k2ping.git synced 2025-02-26 08:55:16 +00:00

不正な平均値になる不具合を修正

This commit is contained in:
Nebel 2017-04-21 19:08:24 +09:00
parent f61d57a603
commit 7b9c0f8858

View file

@ -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);