Skip to content

Commit

Permalink
set default conf of sync managers
Browse files Browse the repository at this point in the history
  • Loading branch information
rainer kordmaa committed Nov 19, 2023
1 parent 4dc18a4 commit ee50087
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ecat_handler/ecat_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ int ConfigureSlave(EcatConfig *config, SlaveConfig *slave, ec_slave_config_t *sc
for (int i = 0;i < slave->sm_count;i++) {
ss[i].index = i; // indexes
ss[i].n_pdos = 0; // to be counted
ss[i].dir = EC_DIR_INPUT; // set default
ss[i].watchdog_mode = EC_WD_DEFAULT; // set default
}

// rx pdos
Expand Down

0 comments on commit ee50087

Please sign in to comment.