Browse Source

autotest: print mag cal progress messages when testing mag cal

apm_2208
Peter Barker 3 years ago committed by Peter Barker
parent
commit
05be2ac8c9
  1. 2
      Tools/autotest/common.py

2
Tools/autotest/common.py

@ -7534,6 +7534,7 @@ Also, ignores heartbeats not from our target system''' @@ -7534,6 +7534,7 @@ Also, ignores heartbeats not from our target system'''
else:
continue
if m is not None:
self.progress("Mag CAL progress: %s" % str(m))
cid = m.compass_id
new_pct = int(m.completion_pct)
if new_pct != reached_pct[cid]:
@ -7599,6 +7600,7 @@ Also, ignores heartbeats not from our target system''' @@ -7599,6 +7600,7 @@ Also, ignores heartbeats not from our target system'''
self.progress("All Mag report failure")
break
if m is not None and m.get_type() == "MAG_CAL_PROGRESS":
self.progress("Mag CAL progress: %s" % str(m))
cid = m.compass_id
new_pct = int(m.completion_pct)
if new_pct != reached_pct[cid]:

Loading…
Cancel
Save