diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2017-08-27 22:31:47 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2017-08-27 22:31:47 +0300 |
commit | e4eff4a6436826174fb18e8099c60909337a89f5 (patch) | |
tree | 3a2fd5fc2aa074e9f05207576a6f18ca46917d6d | |
parent | c7c0b6116609d7153d777e206bd851812892c7dd (diff) |
Fix def typo, remove reliance on __empty symbol for broken build environments that have neither yield nor empty
-rw-r--r-- | FastLED.cpp | 4 |
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 |