mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 23:54:39 +00:00

The ethernet\iperf example has a bug, once bandwidth is more than 80 Mbits/s the average counter shows wrong total transmitted data value. Issue occur due to overflow of the uint32_t total_len variable. * created new average formula to avoid the overflow * updated interval formula according to new variables * renamed variable according to its purpose