Output datagram stats only if EC_RT_SYSLOG.
This commit is contained in:
parent
ffa0c395a8
commit
b0e45dbd6c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue