Fixed frame loss statistics.
This commit is contained in:
parent
8b19812c17
commit
e960e20bb3
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue