Skip to content

Commit

Permalink
Fix forgetting to rename client method.
Browse files Browse the repository at this point in the history
  • Loading branch information
masasin committed Sep 10, 2015
1 parent 7ea3fbd commit bd583f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def main():

logging.debug("Registering peripherals to client")
if mbed_arm is not None:
client.add_serial_device("mbed_arm", mbed_arm)
client.add_serial_device("mbed_body", mbed_body)
client.add_mbed("mbed_arm", mbed_arm)
client.add_mbed("mbed_body", mbed_body)
for motor in motors:
client.add_motor(motor, ser=mbed_body)
for sensor in current_sensors:
Expand Down

0 comments on commit bd583f6

Please sign in to comment.