diff --git a/sw/ground_segment/python/joystick/arduino_dangerboard.py b/sw/ground_segment/python/joystick/arduino_dangerboard.py index 9cabdb63c6..5d0bb16d6a 100755 --- a/sw/ground_segment/python/joystick/arduino_dangerboard.py +++ b/sw/ground_segment/python/joystick/arduino_dangerboard.py @@ -61,7 +61,7 @@ class arduino_dangerboard(): def main(): try: - foo = dangerboard() + foo = arduino_dangerboard() foo.poll() except KeyboardInterrupt: pass diff --git a/sw/ground_segment/python/joystick/ivydanger.py b/sw/ground_segment/python/joystick/ivydanger.py index 91e901779a..b33639086d 100755 --- a/sw/ground_segment/python/joystick/ivydanger.py +++ b/sw/ground_segment/python/joystick/ivydanger.py @@ -76,7 +76,7 @@ def GetOptions(): Usage(sys.argv[0]) sys.exit() elif o in ("-a", "--ac_id"): - options['ac_id'].append(int(a)) + options['ac_id'] = [ int(a) ] elif o in ("-s", "--sliders"): options['sliders'] = a.split(':')