master/fsm_pdo.c
changeset 1183 d77f634ab0b5
parent 1180 846907b8cc4b
child 1193 e6d4134796c4
equal deleted inserted replaced
1182:f5e725aa5483 1183:d77f634ab0b5
   280     if (ec_pdo_list_copy(&fsm->sync->pdos, &fsm->pdos)) {
   280     if (ec_pdo_list_copy(&fsm->sync->pdos, &fsm->pdos)) {
   281         fsm->state = ec_fsm_pdo_state_error;
   281         fsm->state = ec_fsm_pdo_state_error;
   282         return;
   282         return;
   283     }
   283     }
   284 
   284 
   285     fsm->sync->assign_source = EC_ASSIGN_COE;
       
   286     ec_pdo_list_clear_pdos(&fsm->pdos);
   285     ec_pdo_list_clear_pdos(&fsm->pdos);
   287 
   286 
   288     // next sync manager
   287     // next sync manager
   289     ec_fsm_pdo_read_action_next_sync(fsm);
   288     ec_fsm_pdo_read_action_next_sync(fsm);
   290 }
   289 }