diff --git a/src/ecat_handler/ecat_handler.c b/src/ecat_handler/ecat_handler.c index 79cbd24..bf84be3 100644 --- a/src/ecat_handler/ecat_handler.c +++ b/src/ecat_handler/ecat_handler.c @@ -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