diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-01-27 05:13:58 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-01-27 05:13:58 +0400 |
commit | 98b6ac00509f2c1756dd0e5ce8d5a809dee9a658 (patch) | |
tree | d565a179f72ee486853f9c80cb21e08145c4209e /clockless2.h | |
parent | e269d3cf04a87a1258de3be3e822ad4c16408350 (diff) |
splitting out clockless code into all its own header files
Diffstat (limited to 'clockless2.h')
-rw-r--r-- | clockless2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clockless2.h b/clockless2.h index b137f6a8..68e6477a 100644 --- a/clockless2.h +++ b/clockless2.h @@ -6,7 +6,7 @@ #include "led_sysdefs.h" #include "delay.h" - +#ifdef FASTLED_TEENSY3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Base template for clockless controllers. These controllers have 3 control points in their cycle for each bit. The first point @@ -104,7 +104,6 @@ public: nLeds *= (3 + SKIP); register uint8_t *end = data + nLeds; -#if defined(FASTLED_TEENSY3) register uint32_t b; register uint32_t c; if(ADVANCE) { @@ -223,7 +222,6 @@ public: c = scale8(c, scale); delaycycles<T3 - 15>(); // 1/1 store, 2/2 load (with increment), 1/1 mul, 1/1 shift, 1 cmp, 1 branch backwards, 1 movim, 1/1 port lookup }; -#endif } #ifdef SUPPORT_ARGB @@ -238,4 +236,6 @@ public: #undef SET2_LO #undef SET2_LO2 +#endif + #endif
\ No newline at end of file |