autotest: use get_parameter in place of mav's param object

This is the only place in the code that does this
This commit is contained in:
Peter Barker 2021-01-25 17:02:07 +11:00 committed by Peter Barker
parent b1ccf3b3f8
commit bcc1cb9dbb
1 changed files with 1 additions and 1 deletions

View File

@ -8568,7 +8568,7 @@ switch value'''
for (ins_prefix, sim_prefix, pre_value, post_value) in param_map:
for axis in axes:
pname = ins_prefix+"_"+axis
v = self.mav.param(pname)
v = self.get_parameter(pname)
expected_v = getattr(post_value, axis.lower())
if v == expected_v:
continue