1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Merge pull request #5871 from wind0r/fix_static_initialization

remove unneeded static initialization
This commit is contained in:
Andrey Mironov 2018-05-11 23:58:33 +03:00 committed by GitHub
commit 690d2d6ca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,8 +181,8 @@ static void checkForThrottleErrorResetState(uint16_t rxRefreshRate)
FAST_CODE NOINLINE void processRcCommand(void)
{
static float rcCommandInterp[4] = { 0, 0, 0, 0 };
static float rcStepSize[4] = { 0, 0, 0, 0 };
static float rcCommandInterp[4];
static float rcStepSize[4];
static int16_t rcInterpolationStepCount;
if (isRXDataNew && isAntiGravityModeActive()) {