From a2628c59d5d70aa57657e375309175c85ff5ef3a Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 22 Jan 2015 21:36:05 +0100 Subject: [PATCH] Cleanup whitespace. --- src/main/io/ledstrip.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/io/ledstrip.c b/src/main/io/ledstrip.c index e96a5eabb..0f66cc02c 100644 --- a/src/main/io/ledstrip.c +++ b/src/main/io/ledstrip.c @@ -48,10 +48,10 @@ #include "io/ledstrip.h" static bool ledStripInitialised = false; +static bool ledStripEnabled = true; static failsafe_t* failsafe; -static bool ledStripEnabled = true; static void ledStripDisable(void); //#define USE_LED_ANIMATION @@ -745,12 +745,12 @@ void updateLedStrip(void) return; } - if ( IS_RC_MODE_ACTIVE(BOXLEDLOW)){ - if (ledStripEnabled){ - ledStripDisable(); + if (IS_RC_MODE_ACTIVE(BOXLEDLOW)) { + if (ledStripEnabled) { + ledStripDisable(); ledStripEnabled = false; } - }else{ + } else { ledStripEnabled = true; } -- 2.11.4.GIT