Added some debugging.

This commit is contained in:
Florian Pose 2008-06-23 10:26:47 +00:00
parent 4458a5fd62
commit 8bb85dba51
1 changed files with 9 additions and 0 deletions

View File

@ -178,6 +178,15 @@ void ec_fsm_pdo_assign_next_dir(
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
if (ec_pdo_list_equal(&fsm->sync->pdos, fsm->pdos))
continue;