selfcheck.py: check results must not be capitalized

This commit is contained in:
Oleg Kalachev
2019-07-20 20:52:51 +03:00
parent 0801ea2b67
commit ea072ad01a

View File

@@ -650,7 +650,7 @@ def check_preflight_status():
mavlink_exec('\n')
cmdr_output = mavlink_exec('commander check')
if cmdr_output == '':
failure('No data from FCU')
failure('no data from FCU')
return
cmdr_lines = cmdr_output.split('\n')
r = re.compile(r'^(.*)(Preflight|Prearm) check: (.*)')