1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

remove unneeded static initialization

This commit is contained in:
Steffen Windoffer 2018-05-11 21:08:41 +02:00
parent 3af1610d0b
commit e89680594c

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()) {