Štěpán Dalecký
Štěpán Dalecký
Why do we need special handling for CRSF? Will this be working with GHST (of course after merging MSP support for GHST https://github.com/betaflight/betaflight/pull/11242) and FrSky out of the box? ```...
Thank you @phobos- for clarification. AFAIK we would need to patch it for GHST in similar way. GHST also needs different address.
@KarateBrot Good point. So once again :D
Tried with `laggedMovingAverage` but flash usage and ram usage were significantly increased. Introduced new int/uint versions of movingAverage.
These can be useful: https://en.cppreference.com/w/c/language/generic https://en.cppreference.com/w/c/numeric/tgmath
We need to compare flash usage at least on F411 and F722.
@mluessi Please squash once you are done.
Sure I can. I can't imagine how 'Fix CDC_Send_FreeBytes' could directly affect FrSky failsafing - there are changes only in VCP driver that is used for CLI over USB (so...
Can you please retest with this build? I have removed 1ms delay waiting in USB VCP driver. [betaflight_4.4.0_STM32F411.zip](https://github.com/betaflight/betaflight/files/9126791/betaflight_4.4.0_STM32F411.zip) [betaflight_4.4.0_STM32F411SX1280.zip](https://github.com/betaflight/betaflight/files/9126792/betaflight_4.4.0_STM32F411SX1280.zip)
@ndellagrotte please use the first one. Sorry for confusion. @SteveCEvans i have removed delay(1ms) from waiting loop. So it will write new data to buffer asap after there is free...