We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2364bf commit b0b6ec3Copy full SHA for b0b6ec3
wled00/FX.cpp
@@ -25,6 +25,16 @@
25
26
#define indexToVStrip(index, stripNr) ((index) | (int((stripNr)+1)<<16))
27
28
+#if 0 // for benchmarking - change to "#if 1" to use less accurate, but 30% faster FastLed sin8 and cos8 functions
29
+#define sin8_t sin8
30
+#define cos8_t cos8
31
+#define sin16_t sin16
32
+#define cos16_t cos16
33
+#define beatsin8_t beatsin8
34
+#define beatsin88_t beatsin88
35
+#define beatsin16_t beatsin16
36
+#endif
37
+
38
// WLEDMM replace abs8 by abs, as abs8 does not work for numbers >127
39
#define abs8(x) abs(x)
40
0 commit comments