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

Minor: Moved setting of alternate PDO mapping flag.

parent fcba4f8d
No related branches found
No related tags found
No related merge requests found
...@@ -1385,6 +1385,7 @@ void ecrt_slave_pdo_mapping_clear( ...@@ -1385,6 +1385,7 @@ void ecrt_slave_pdo_mapping_clear(
return; return;
ec_sync_clear_pdos(sync); ec_sync_clear_pdos(sync);
sync->alt_mapping = 1;
} }
/*****************************************************************************/ /*****************************************************************************/
......
...@@ -193,8 +193,6 @@ void ec_sync_clear_pdos( ...@@ -193,8 +193,6 @@ void ec_sync_clear_pdos(
ec_pdo_clear(pdo); ec_pdo_clear(pdo);
kfree(pdo); kfree(pdo);
} }
sync->alt_mapping = 1;
} }
/*****************************************************************************/ /*****************************************************************************/
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