From: Logxen Date: Sat, 17 May 2014 22:02:12 +0000 (-0700) Subject: more cleaning of ToolManager X-Git-Url: https://git.hcoop.net/clinton/Smoothieware.git/commitdiff_plain/4210bdd3a1f685949baa0b297661c707964cc267 more cleaning of ToolManager --- diff --git a/src/modules/tools/toolmanager/ToolManager.cpp b/src/modules/tools/toolmanager/ToolManager.cpp index a3062aae..25f4302b 100644 --- a/src/modules/tools/toolmanager/ToolManager.cpp +++ b/src/modules/tools/toolmanager/ToolManager.cpp @@ -72,7 +72,6 @@ void ToolManager::on_gcode_received(void *argument){ this->tools[active_tool]->enable(); //send new_tool_offsets to robot - float *active_tool_offset = tools[this->active_tool]->get_offset(); float *new_tool_offset = tools[new_tool]->get_offset(); THEKERNEL->robot->setToolOffset(new_tool_offset[0], new_tool_offset[1], new_tool_offset[2]); }