Removing timing instrumentation from CC3D & LEDSTRIP build.

This commit is contained in:
Dominic Clifton 2014-09-20 01:04:40 +01:00
parent 2f2e1a8d42
commit 3ed6afba17
2 changed files with 0 additions and 13 deletions

View File

@ -725,11 +725,7 @@ void updateLedStrip(void)
static uint8_t warningState = 0; static uint8_t warningState = 0;
static uint8_t warningFlags; static uint8_t warningFlags;
TIME_SECTION_BEGIN(3);
// LAYER 1 // LAYER 1
TIME_SECTION_BEGIN(0);
applyLedModeLayer(); applyLedModeLayer();
applyLedThrottleLayer(); applyLedThrottleLayer();
@ -784,14 +780,7 @@ void updateLedStrip(void)
#ifdef USE_LED_ANIMATION #ifdef USE_LED_ANIMATION
applyLedAnimationLayer(); applyLedAnimationLayer();
#endif #endif
TIME_SECTION_END(0);
TIME_SECTION_BEGIN(2);
ws2811UpdateStrip(); ws2811UpdateStrip();
TIME_SECTION_END(2);
TIME_SECTION_END(3);
} }
bool parseColor(uint8_t index, char *colorConfig) bool parseColor(uint8_t index, char *colorConfig)

View File

@ -15,8 +15,6 @@
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>. * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
*/ */
#define DEBUG_SECTION_TIMES
#define LED0_GPIO GPIOB #define LED0_GPIO GPIOB
#define LED0_PIN Pin_3 // PB3 (LED) #define LED0_PIN Pin_3 // PB3 (LED)
#define LED0_PERIPHERAL RCC_APB2Periph_GPIOB #define LED0_PERIPHERAL RCC_APB2Periph_GPIOB