diff --git a/soloutils/flash.py b/soloutils/flash.py index 079d891..99a2bd1 100644 --- a/soloutils/flash.py +++ b/soloutils/flash.py @@ -231,6 +231,7 @@ def flash_px4(firmware_file): # shutdown solo for firmware reflash code = soloutils.command_stream(client, 'shutdown -r now') + #code = soloutils.command_stream(client, 'loadPixhawk.py') errprinter('Solo will update once it reboots!') dt = datetime.today() + timedelta(minutes=4) @@ -266,7 +267,7 @@ def main(args): if args['']: firmware_file = args[''] flash_px4(firmware_file) - return + return if args['both']: group = 'Solo and the Controller'