Skip to content

Commit 8ee16dd

Browse files
committed
fixup remap stdglue, interpreter.speed is an array now
1 parent ac23d1c commit 8ee16dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nc_files/remap_lib/python-stdglue/stdglue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def setspeed_epilog(self,**words):
4444
pass
4545
#print "---------- S builtin recursion, nothing to do"
4646
else:
47-
self.speed = self.params["speed"]
48-
emccanon.enqueue_SET_SPINDLE_SPEED(self.speed)
47+
self.speed[0] = self.params["speed"]
48+
emccanon.enqueue_SET_SPINDLE_SPEED(self.speed[0])
4949
return INTERP_OK
5050
except Exception,e:
5151
self.set_errormsg("S/setspeed_epilog: %s)" % (e))

0 commit comments

Comments
 (0)