Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
tboegi committed May 27, 2024
1 parent 1927101 commit 8f038e3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions ethercatmcApp/src/ethercatmcIndexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ const char *ethercatmcController::plcParamIndexTxtFromParamIndex(
return "USR_MAX_EN_OLD";
case PARAM_IDX_HOMPROC_UINT:
return "HOMPROC_OLD";
// case PARAM_IDX_POSITION_LAG_FILTER_TIME:
// return "POS_LAG_FIL_TIME";
// case PARAM_IDX_IN_TARGET_POSITION_TIME:
// return "IN_TRGT_POS_TIME";
case PARAM_IDX_USR_MIN_EN_FLOAT:
return "USR_MIN_EN";
case PARAM_IDX_USR_MAX_EN_FLOAT:
Expand Down Expand Up @@ -798,10 +794,6 @@ int ethercatmcController::paramIndexToFunction(unsigned paramIndex) {
return defAsynPara.ethercatmcCfgDHLM_En_RB_;
case PARAM_IDX_HOMPROC_UINT:
return defAsynPara.ethercatmcHomProc_RB_;
// case PARAM_IDX_POSITION_LAG_FILTER_TIME:
// return defAsynPara.ethercatmcCfgPOSLAG_Tim_RB_;
// case PARAM_IDX_IN_TARGET_POSITION_TIME:
// return defAsynPara.ethercatmcCfgRDBD_Tim_RB_;
case PARAM_IDX_USR_MIN_EN_FLOAT:
return defAsynPara.ethercatmcCfgDLLM_En_RB_;
case PARAM_IDX_USR_MAX_EN_FLOAT:
Expand Down Expand Up @@ -926,15 +918,6 @@ void ethercatmcController::parameterFloatReadBack(unsigned axisNo, int initial,
updateCfgValue(axisNo, defAsynPara.ethercatmcHomProc_RB_, (int)fValue,
"homprocRB");
break;
// case PARAM_IDX_POSITION_LAG_FILTER_TIME:
// updateCfgValue(axisNo, defAsynPara.ethercatmcCfgPOSLAG_Tim_RB_, fValue,
// "poslag_tim");
// break;
// case PARAM_IDX_IN_TARGET_POSITION_TIME:
// updateCfgValue(axisNo, defAsynPara.ethercatmcCfgRDBD_Tim_RB_, fValue,
// "rdbd_time");
// break;

case PARAM_IDX_USR_MIN_EN_FLOAT:
updateCfgValue(axisNo, defAsynPara.ethercatmcCfgDLLM_En_RB_, (int)fValue,
"dllm_en");
Expand Down

0 comments on commit 8f038e3

Please sign in to comment.