1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

missed removal of unneeded update chec

This commit is contained in:
Corvus Corax 2013-05-03 02:48:06 +02:00
parent 25c58ff074
commit 5d5a3389c4

View File

@ -1031,7 +1031,7 @@ static void settingsUpdatedCb(UAVObjEvent * ev)
// change of these settings require reinitialization of the EKF
// when an error flag has been risen, we also listen to flightStatus updates,
// since we are waiting for the system to get disarmed so we can reinitialize safely.
if (ev == NULL || ev->obj == RevoCalibrationHandle() ||
if (ev == NULL ||
ev->obj == EKFConfigurationHandle() ||
ev->obj == RevoSettingsHandle() ||
( variance_error==true && ev->obj == FlightStatusHandle() )