1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

OP-1161 skip magnetometer entirelly if complementary (no mag) mode, thus not triggering magnetometer alarms

This commit is contained in:
Corvus Corax 2014-05-06 18:46:58 +02:00
parent 2bd7609de9
commit 14652440a2

View File

@ -161,17 +161,14 @@ static float gyroDelta[3];
// preconfigured filter chains selectable via revoSettings.FusionAlgorithm
static const filterPipeline *cfQueue = &(filterPipeline) {
.filter = &magFilter,
.filter = &airFilter,
.next = &(filterPipeline) {
.filter = &airFilter,
.filter = &baroiFilter,
.next = &(filterPipeline) {
.filter = &baroiFilter,
.filter = &altitudeFilter,
.next = &(filterPipeline) {
.filter = &altitudeFilter,
.next = &(filterPipeline) {
.filter = &cfFilter,
.next = NULL,
}
.filter = &cfFilter,
.next = NULL,
}
}
}