We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cab365 commit 58624aaCopy full SHA for 58624aa
1 file changed
src/emc/usr_intf/axis/scripts/axis.py
@@ -2755,15 +2755,15 @@ def flood_toggle(*args):
2755
def spindle_forward_toggle(*args):
2756
if not manual_ok(): return
2757
s.poll()
2758
- if s.spindle_direction == 0:
+ if s.spindle[0]['direction'] == 0:
2759
c.spindle(linuxcnc.SPINDLE_FORWARD,default_spindle_speed)
2760
else:
2761
c.spindle(linuxcnc.SPINDLE_OFF)
2762
2763
def spindle_backward_toggle(*args):
2764
if not manual_ok(): return "break"
2765
2766
2767
c.spindle(linuxcnc.SPINDLE_REVERSE,default_spindle_speed)
2768
2769
0 commit comments