From e89680594cdee44eafe85f9d8f5b187b0df27d30 Mon Sep 17 00:00:00 2001 From: Steffen Windoffer Date: Fri, 11 May 2018 21:08:41 +0200 Subject: [PATCH] remove unneeded static initialization --- src/main/fc/fc_rc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/fc/fc_rc.c b/src/main/fc/fc_rc.c index 0a9c456e59..eb20e99a22 100644 --- a/src/main/fc/fc_rc.c +++ b/src/main/fc/fc_rc.c @@ -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()) {