Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kriegsman <kriegsman@tr.org>2014-11-25 20:25:58 +0300
committerMark Kriegsman <kriegsman@tr.org>2014-11-25 20:25:58 +0300
commit727022725a959162229badd58c8050ac92827a95 (patch)
tree53bf841f1553a5db967af4b64e260be5d09f2199
parent832c1bcdecb41b00a8897f364a244aad96a5dc2f (diff)
Add ((weak)) attribute to forward declaration of user-supplied XY function
-rw-r--r--colorutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorutils.cpp b/colorutils.cpp
index 4a4d53a4..bac21851 100644
--- a/colorutils.cpp
+++ b/colorutils.cpp
@@ -353,7 +353,7 @@ CHSV* blend( const CHSV* src1, const CHSV* src2, CHSV* dest, uint16_t count, fra
// Forward declaration of the function "XY" which must be provided by
// the application for use in two-dimensional filter functions.
-uint16_t XY( uint8_t, uint8_t);
+uint16_t XY( uint8_t, uint8_t) __attribute__ ((weak));
// blur1d: one-dimensional blur filter. Spreads light to 2 line neighbors.