Skip to content
Snippets Groups Projects
Commit 4d799808 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed minor bug.

parent 378115f7
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ void ec_fsm_pdo_config_next_pdo(
}
// Pdo configuration has to be changed. Does the slave support this?
if (fsm->slave->sii.mailbox_protocols & EC_MBOX_COE
if (!(fsm->slave->sii.mailbox_protocols & EC_MBOX_COE)
|| (fsm->slave->sii.has_general
&& !fsm->slave->sii.coe_details.enable_pdo_configuration)) {
EC_ERR("Slave %u does not support changing the Pdo configuration!\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment