mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Improve speed of LED STRIP code.
Shaved about 150us each strip update. This commit leaves in some timing trace code for the CC3D target, the results of which can be seen in the debug variables for the sections being timed. A later commit will remove/disable the timing code.
This commit is contained in:
parent
36dac872b8
commit
e847a6347d
9 changed files with 189 additions and 15 deletions
|
@ -68,6 +68,9 @@
|
|||
|
||||
#include "build_config.h"
|
||||
|
||||
#ifdef DEBUG_SECTION_TIMES
|
||||
uint32_t sectionTimes[2][4];
|
||||
#endif
|
||||
extern uint32_t previousTime;
|
||||
|
||||
#ifdef SOFTSERIAL_LOOPBACK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue