mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-26 03:53:47 +08:00
Fixed frame loss statistics.
This commit is contained in:
@@ -1264,6 +1264,7 @@ void ec_master_update_device_stats(
|
||||
s->last_rx_count = s->rx_count;
|
||||
s->last_tx_bytes = s->tx_bytes;
|
||||
s->last_rx_bytes = s->rx_bytes;
|
||||
s->last_loss = loss;
|
||||
|
||||
ec_device_update_stats(&master->devices[EC_DEVICE_MAIN]);
|
||||
ec_device_update_stats(&master->devices[EC_DEVICE_BACKUP]);
|
||||
|
||||
Reference in New Issue
Block a user