Commit 047900fb authored by Emmanuel Papillon's avatar Emmanuel Papillon
Browse files

bug in motoronoff

parent 5538c073
......@@ -39,7 +39,7 @@ class MotorOnOffHook(MotionHook):
def post_move(self, motion_list):
if not self.__enabled:
return
if not self.__manual_set:
if not self.__scan_on:
self.__set_off()
def pre_scan(self, axes_list):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment