Skip to content

Commit

Permalink
removed dead code fro toolhead remapping component
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Aug 6, 2024
1 parent b61e42f commit 3051f37
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/widgets/toolhead/ToolheadRemapping.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,22 +219,6 @@ export default class ToolheadRemapping extends Mixins(StateMixin, ToolheadMixin)
return tools
.filter(x => x.name !== this.sourceModel)
}
setToolRemap () {
if (this.isIdex) {
if (this.toolheadRemapActive) {
this.sendGcode('SET_GCODE_VARIABLE MACRO=T0 VARIABLE=remap VALUE=0')
this.sendGcode('SET_GCODE_VARIABLE MACRO=T1 VARIABLE=remap VALUE=1')
this.sendGcode('M117 Toolhead remapping disabled!')
} else {
this.sendGcode('SET_GCODE_VARIABLE MACRO=T0 VARIABLE=remap VALUE=1')
this.sendGcode('SET_GCODE_VARIABLE MACRO=T1 VARIABLE=remap VALUE=0')
this.sendGcode('M117 Toolhead remapping enabled!')
}
} else {
this.sendGcode('M117 Not implemented yet!')
}
}
}
</script>

Expand Down

0 comments on commit 3051f37

Please sign in to comment.