mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 17:44:04 +08:00
Output datagram stats only if EC_RT_SYSLOG.
This commit is contained in:
@@ -185,7 +185,9 @@ uint16_t ec_datagram_pair_process(
|
||||
dev_idx++) {
|
||||
ec_datagram_t *datagram = &pair->datagrams[dev_idx];
|
||||
|
||||
#ifdef EC_RT_SYSLOG
|
||||
ec_datagram_output_stats(datagram);
|
||||
#endif
|
||||
|
||||
if (datagram->state == EC_DATAGRAM_RECEIVED) {
|
||||
pair_wc += datagram->working_counter;
|
||||
|
||||
Reference in New Issue
Block a user