mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
missed removal of unneeded update chec
This commit is contained in:
parent
25c58ff074
commit
5d5a3389c4
@ -1031,7 +1031,7 @@ static void settingsUpdatedCb(UAVObjEvent * ev)
|
|||||||
// change of these settings require reinitialization of the EKF
|
// change of these settings require reinitialization of the EKF
|
||||||
// when an error flag has been risen, we also listen to flightStatus updates,
|
// 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.
|
// 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 == EKFConfigurationHandle() ||
|
||||||
ev->obj == RevoSettingsHandle() ||
|
ev->obj == RevoSettingsHandle() ||
|
||||||
( variance_error==true && ev->obj == FlightStatusHandle() )
|
( variance_error==true && ev->obj == FlightStatusHandle() )
|
||||||
|
Loading…
Reference in New Issue
Block a user