Output debug message only on debug level > 0.
This commit is contained in:
parent
fae8df09b0
commit
e643a71543
|
|
@ -491,8 +491,8 @@ void ec_voe_handler_state_read_nosync_response(ec_voe_handler_t *voe)
|
|||
if (datagram->working_counter == 0) {
|
||||
voe->state = ec_voe_handler_state_error;
|
||||
voe->request_state = EC_INT_REQUEST_FAILURE;
|
||||
EC_DBG("Slave (%u) did not send data with Mailbox.",
|
||||
slave->ring_position);
|
||||
if (master->debug_level)
|
||||
EC_DBG("Slave %u did not send VoE data.", slave->ring_position);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue