diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2016-02-24 13:01:43 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2016-02-24 13:01:43 +0300 |
commit | 42419afa23ec9a11d6eb3cd06c220bbda904314b (patch) | |
tree | 95855f4409368114ca727b8cf4aecf168d4c7de0 | |
parent | 8d8470bd2384f6e18a6938848e2f8aff7e8339a8 (diff) |
The bean doesn't have yield, that's annoying
-rw-r--r-- | FastLED.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FastLED.cpp b/FastLED.cpp index f9f7ec4d..2f3f7768 100644 --- a/FastLED.cpp +++ b/FastLED.cpp @@ -126,7 +126,7 @@ void CFastLED::delay(unsigned long ms) { ::delay(1); #endif show(); -#if defined(ARDUINO) && (ARDUINO > 150) +#if defined(ARDUINO) && (ARDUINO > 150) && !defined(IS_BEAN) yield(); #endif } |