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

Fixed bug in Pdo mapping.

parent d21d819d
No related branches found
No related tags found
No related merge requests found
...@@ -162,6 +162,8 @@ void ec_fsm_pdo_mapping_next_dir( ...@@ -162,6 +162,8 @@ void ec_fsm_pdo_mapping_next_dir(
ec_fsm_pdo_mapping_t *fsm /**< mapping state machine */ ec_fsm_pdo_mapping_t *fsm /**< mapping state machine */
) )
{ {
fsm->dir++;
for (; fsm->dir <= EC_DIR_INPUT; fsm->dir++) { for (; fsm->dir <= EC_DIR_INPUT; fsm->dir++) {
fsm->mapping = &fsm->slave->config->mapping[fsm->dir]; fsm->mapping = &fsm->slave->config->mapping[fsm->dir];
......
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