AP_Beacon: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:56 +01:00 committed by Peter Hall
parent 6e6fcf4880
commit cacbd2579d
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ Vector3f AP_Beacon_Backend::correct_for_orient_yaw(const Vector3f &vector)
// check for change in parameter value and update constants
if (orient_yaw_deg != _frontend.orient_yaw) {
_frontend.orient_yaw = wrap_180(_frontend.orient_yaw.get());
_frontend.orient_yaw.set(wrap_180(_frontend.orient_yaw.get()));
// calculate rotation constants
orient_yaw_deg = _frontend.orient_yaw;