Commit 92a0e65b authored by Sebastien Petitdemange's avatar Sebastien Petitdemange Committed by Emmanuel Papillon
Browse files

motors: fixed a small bug when initialising encoder

parent 3406473c
......@@ -200,7 +200,7 @@ class Controller(object):
if ENCODER_AXIS.get(encoder.name):
axis_name = ENCODER_AXIS[encoder.name]
axis = get_axis(axis_name)
axis = self.get_axis(axis_name)
axis.controller._initialize_axis(axis)
self.initialize_encoder(encoder)
......
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