fix(f4): limit CRSF external module speed to 3.75Mbps (#6923)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
3djc
2026-01-28 16:06:06 +10:00
committed by GitHub
co-authored by elecpower
parent 0087e258f9
commit 6b1cd88eff
9 changed files with 86 additions and 48 deletions
+8
View File
@@ -211,6 +211,14 @@ if(g_model.rssiSource) {
storageDirty(EE_MODEL);
}
#if defined(STM32F4) && defined(CROSSFIRE)
// Limit ext. CRSF speed to 3.75Mbps due to CRC errors at higher speeds
if(isModuleCrossfire(EXTERNAL_MODULE) && g_model.moduleData[EXTERNAL_MODULE].crsf.telemetryBaudrate == 4) {
TRACE("Downgrading external ELRS module baudrate");
g_model.moduleData[EXTERNAL_MODULE].crsf.telemetryBaudrate = 3;
storageDirty(EE_MODEL);
}
#endif
#if defined(PXX2)
bool changed = false;