diff --git a/src/main/io/ledstrip.c b/src/main/io/ledstrip.c index 42ae1fdb60..1758cd746f 100644 --- a/src/main/io/ledstrip.c +++ b/src/main/io/ledstrip.c @@ -725,11 +725,7 @@ void updateLedStrip(void) static uint8_t warningState = 0; static uint8_t warningFlags; - TIME_SECTION_BEGIN(3); - // LAYER 1 - - TIME_SECTION_BEGIN(0); applyLedModeLayer(); applyLedThrottleLayer(); @@ -784,14 +780,7 @@ void updateLedStrip(void) #ifdef USE_LED_ANIMATION applyLedAnimationLayer(); #endif - TIME_SECTION_END(0); - - TIME_SECTION_BEGIN(2); ws2811UpdateStrip(); - TIME_SECTION_END(2); - - TIME_SECTION_END(3); - } bool parseColor(uint8_t index, char *colorConfig) diff --git a/src/main/target/CC3D/target.h b/src/main/target/CC3D/target.h index bffd52c806..4163ceda8e 100644 --- a/src/main/target/CC3D/target.h +++ b/src/main/target/CC3D/target.h @@ -15,8 +15,6 @@ * along with Cleanflight. If not, see . */ -#define DEBUG_SECTION_TIMES - #define LED0_GPIO GPIOB #define LED0_PIN Pin_3 // PB3 (LED) #define LED0_PERIPHERAL RCC_APB2Periph_GPIOB