AP_Soaring: Correct bug with reversed arguments.

This commit is contained in:
Samuel Tabor
2020-04-08 09:11:54 +10:00
committed by Andrew Tridgell
parent 16b7de4029
commit 7d3ff28974
+1 -1
View File
@@ -13,7 +13,7 @@ Variometer::Variometer(AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms) :
_climb_filter = LowPassFilter<float>(1.0/60.0);
}
void Variometer::update(const float polar_K, const float polar_B, const float polar_Cd0)
void Variometer::update(const float polar_K, const float polar_Cd0, const float polar_B)
{
_ahrs.get_relative_position_D_home(alt);
alt = -alt;