stepstats: Add documentation clarification

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-03-08 13:55:47 -05:00
parent 99f3c99238
commit 7579b9671b
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ def main():
continue continue
args = dict([p.split('=', 1) for p in parts[1:]]) args = dict([p.split('=', 1) for p in parts[1:]])
if parts[0] == 'config_stepper': if parts[0] == 'config_stepper':
# steppers[oid] = [dir_cmds, dir, queue_cmds, pos steps, neg steps]
steppers[args['oid']] = [0, 0, 0, 0, 0] steppers[args['oid']] = [0, 0, 0, 0, 0]
elif parts[0] == 'set_next_step_dir': elif parts[0] == 'set_next_step_dir':
so = steppers[args['oid']] so = steppers[args['oid']]