Skip to content

Commit

Permalink
remove unused nml commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-dev committed Jun 18, 2023
1 parent 6fd99e9 commit e2659d7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 643 deletions.
11 changes: 0 additions & 11 deletions src/emc/iotask/ioControl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,11 +841,6 @@ int main(int argc, char *argv[])
case 0:
break;

case EMC_IO_INIT_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_IO_INIT\n");
hal_init_pins();
break;

case EMC_TOOL_INIT_TYPE:
tooldata_load(io_tool_table_file);
reload_tool_number(emcioStatus.tool.toolInSpindle);
Expand Down Expand Up @@ -1085,12 +1080,6 @@ int main(int argc, char *argv[])
*(iocontrol_data->user_request_enable) = 1;
break;

case EMC_AUX_ESTOP_RESET_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_AUX_ESTOP_RESET\n");
// doesn't do anything right now, this will need to come from GUI
// but that means task needs to be rewritten/rethinked
break;

case EMC_LUBE_ON_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_LUBE_ON\n");
emcioStatus.lube.on = 1;
Expand Down
11 changes: 0 additions & 11 deletions src/emc/iotask/ioControl_v2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -977,11 +977,6 @@ int main(int argc, char *argv[])
case 0:
break;

case EMC_IO_INIT_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_IO_INIT\n");
hal_init_pins();
break;

case EMC_TOOL_INIT_TYPE:
tooldata_load(io_tool_table_file);
reload_tool_number(emcioStatus.tool.toolInSpindle);
Expand Down Expand Up @@ -1237,12 +1232,6 @@ int main(int argc, char *argv[])
*(iocontrol_data->user_request_enable) = 1;
break;

case EMC_AUX_ESTOP_RESET_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_AUX_ESTOP_RESET\n");
// doesn't do anything right now, this will need to come from GUI
// but that means task needs to be rewritten/rethinked
break;

case EMC_LUBE_ON_TYPE:
rtapi_print_msg(RTAPI_MSG_DBG, "EMC_LUBE_ON\n");
emcioStatus.lube.on = 1;
Expand Down
Loading

0 comments on commit e2659d7

Please sign in to comment.