Skip to content

Commit

Permalink
modified git flash pixhawk <filename>
Browse files Browse the repository at this point in the history
  • Loading branch information
ethliup committed Nov 16, 2015
1 parent c0c48d2 commit 4c1586b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soloutils/flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -266,7 +267,7 @@ def main(args):
if args['<filename>']:
firmware_file = args['<filename>']
flash_px4(firmware_file)
return
return

if args['both']:
group = 'Solo and the Controller'
Expand Down

0 comments on commit 4c1586b

Please sign in to comment.