Add missing position.

This commit is contained in:
Ian Joseph Wilson
2013-06-15 14:17:44 -07:00
parent e136a55bc7
commit 0839eae951

View File

@@ -444,6 +444,7 @@ class Servos(object):
return 1
def detach(self, pin):
position = self.servo_pos[pin]
cmd_str = build_cmd_str("svd", (position,))
try:
self.sr.write(cmd_str)