From b7bfdeed541486afdb5ba927980a18733b3d8cb5 Mon Sep 17 00:00:00 2001 From: Ray Morris Date: Tue, 23 Dec 2025 09:11:01 -0600 Subject: [PATCH] BLUEBERRYF435WING: Disable dynamic notch filter by default This wing target is performance-constrained and wing aircraft typically don't benefit from dynamic notch filtering, which is primarily designed for detecting and filtering multirotor motor noise. Disabling the dynamic notch filter by default reduces CPU overhead and improves task scheduling margin on this board. --- src/main/target/BLUEBERRYF435WING/config.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/target/BLUEBERRYF435WING/config.c b/src/main/target/BLUEBERRYF435WING/config.c index 050bfa4e750..2c6de82ad87 100644 --- a/src/main/target/BLUEBERRYF435WING/config.c +++ b/src/main/target/BLUEBERRYF435WING/config.c @@ -30,6 +30,7 @@ #include "fc/fc_msp_box.h" #include "io/serial.h" #include "io/piniobox.h" +#include "sensors/gyro.h" void targetConfiguration(void) { @@ -38,4 +39,11 @@ void targetConfiguration(void) serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART1)].functionMask = FUNCTION_MSP; serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART1)].msp_baudrateIndex = BAUD_115200; //pinioBoxConfigMutable()->permanentId[0] = BOX_PERMANENT_ID_USER1; + +#ifdef USE_DYNAMIC_FILTERS + // Disable dynamic notch filter by default (performance optimization for wing) + // This board is performance-constrained and wing aircraft typically don't need + // dynamic notch filtering (designed for multirotor motor noise) + gyroConfigMutable()->dynamicGyroNotchEnabled = 0; +#endif }