1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +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,8 +161,6 @@ static float gyroDelta[3];
// preconfigured filter chains selectable via revoSettings.FusionAlgorithm
static const filterPipeline *cfQueue = &(filterPipeline) {
.filter = &magFilter,
.next = &(filterPipeline) {
.filter = &airFilter,
.next = &(filterPipeline) {
.filter = &baroiFilter,
@ -174,7 +172,6 @@ static const filterPipeline *cfQueue = &(filterPipeline) {
}
}
}
}
};
static const filterPipeline *cfmiQueue = &(filterPipeline) {
.filter = &magFilter,