Merge pull request #1828 from hannwoei/bebop_outdoor_update

correction for bebop firmware version check during uploading
This commit is contained in:
Ewoud Smeur
2016-08-08 12:23:29 +02:00
committed by GitHub
+2 -2
View File
@@ -125,8 +125,8 @@ elif args.command == 'upload_file_and_run':
#check firmware version
v = parrot_utils.check_version(tn, '').strip()
print("Checking Bebop firmware version... " + v )
if v != '3.2.0':
print("Error: please upgrade your Bebop firmware to version 3.2.0!")
if ((v < '3.2.0') or (v > '3.4.0-RC2')):
print("Error: please upgrade your Bebop firmware to version between 3.2.0 and 3.4.0!")
else:
print("Kill running " + f[1] + " and make folder " + args.folder)
parrot_utils.execute_command(tn,"killall -9 " + f[1])