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

Added some debugging.

parent 280bec1e
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,15 @@ void ec_fsm_pdo_assign_next_dir( ...@@ -178,6 +178,15 @@ void ec_fsm_pdo_assign_next_dir(
continue; continue;
} }
if (fsm->slave->master->debug_level) {
EC_DBG("Sync Pdos: ");
ec_pdo_list_print(&fsm->sync->pdos);
printk("\n");
EC_DBG("Config Pdos: ");
ec_pdo_list_print(fsm->pdos);
printk("\n");
}
// check if assignment has to be altered // check if assignment has to be altered
if (ec_pdo_list_equal(&fsm->sync->pdos, fsm->pdos)) if (ec_pdo_list_equal(&fsm->sync->pdos, fsm->pdos))
continue; continue;
......
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