Tools: loganalyzer: use new compass params

This commit is contained in:
Iampete1 2021-11-02 15:36:23 +00:00 committed by Randy Mackay
parent 95713959ec
commit b9c14b6cac
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ class TestCompass(Test):
warnOffset = 300
failOffset = 500
param_offsets = (
logdata.parameters["COMPASS_OFS_X"],
logdata.parameters["COMPASS_OFS_Y"],
logdata.parameters["COMPASS_OFS_Z"]
logdata.parameters["COMPASS1_OFS_X"],
logdata.parameters["COMPASS1_OFS_Y"],
logdata.parameters["COMPASS1_OFS_Z"]
)
if vec_len(param_offsets) > failOffset: