mirror of
https://github.com/kou029w/k2ping.git
synced 2025-02-26 08:55:16 +00:00
不正な平均値になる不具合を修正
This commit is contained in:
parent
f61d57a603
commit
7b9c0f8858
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue