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
@@ -1504,6 +1504,12 @@ bool convert<ModelData>::decode(const Node& node, ModelData& rhs)
rhs.moduleData[i].modelId = modelIds[i];
}
// v2.12 CRSF limit external module to 3.75M for older boards
if (IS_STM32F2F4(board) &&
rhs.moduleData[1].protocol == PULSES_CROSSFIRE &&
rhs.moduleData[1].crsf.telemetryBaudrate > 4)
rhs.moduleData[1].crsf.telemetryBaudrate = 4;
if (node["failsafeChannels"]) {
int failsafeChans[CPN_MAX_CHNOUT];
memset(failsafeChans, 0, sizeof(failsafeChans));