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:
authorDaniel Garcia <danielgarcia@gmail.com>2017-08-27 22:31:47 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2017-08-27 22:31:47 +0300
commite4eff4a6436826174fb18e8099c60909337a89f5 (patch)
tree3a2fd5fc2aa074e9f05207576a6f18ca46917d6d
parentc7c0b6116609d7153d777e206bd851812892c7dd (diff)
Fix def typo, remove reliance on __empty symbol for broken build environments that have neither yield nor empty
-rw-r--r--FastLED.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/FastLED.cpp b/FastLED.cpp
index 7131da15..b9a2493b 100644
--- a/FastLED.cpp
+++ b/FastLED.cpp
@@ -232,8 +232,8 @@ void CFastLED::setMaxRefreshRate(uint16_t refresh, bool constrain) {
extern "C" int atexit(void (* /*func*/ )()) { return 0; }
-#ifdef FASTLED_NEED_YIELD
-extern "C" void yield(void) __attribute__ ((weak, alias("__empty")));
+#ifdef FASTLED_NEEDS_YIELD
+extern "C" void yield(void) { }
#endif
#ifdef NEED_CXX_BITS