mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
uncrustification, changed ekf glitch recognition to warning, since its now benign
This commit is contained in:
parent
b9ae8844a1
commit
72e33a11e4
@ -133,7 +133,7 @@ void gps_airspeedGet(AirspeedSensorData *airspeedData, __attribute__((unused)) A
|
||||
airspeedData->CalibratedAirspeed = 0;
|
||||
airspeedData->SensorConnected = AIRSPEEDSENSOR_SENSORCONNECTED_FALSE;
|
||||
} else {
|
||||
airspeedData->SensorConnected = AIRSPEEDSENSOR_SENSORCONNECTED_TRUE;
|
||||
airspeedData->SensorConnected = AIRSPEEDSENSOR_SENSORCONNECTED_TRUE;
|
||||
}
|
||||
|
||||
// Save old variables for next pass
|
||||
|
@ -436,7 +436,7 @@ static int32_t filter(stateFilter *self, stateEstimation *state)
|
||||
this->work.updated = 0;
|
||||
|
||||
if (this->init_stage < 0) {
|
||||
return 2;
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user