Minor: Moved setting of alternate PDO mapping flag.
This commit is contained in:
parent
937b457d3e
commit
289c68d727
|
|
@ -1385,6 +1385,7 @@ void ecrt_slave_pdo_mapping_clear(
|
|||
return;
|
||||
|
||||
ec_sync_clear_pdos(sync);
|
||||
sync->alt_mapping = 1;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -193,8 +193,6 @@ void ec_sync_clear_pdos(
|
|||
ec_pdo_clear(pdo);
|
||||
kfree(pdo);
|
||||
}
|
||||
|
||||
sync->alt_mapping = 1;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in New Issue