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:
Diffstat (limited to 'src/platforms/esp/8266/clockless_esp8266.h')
-rw-r--r--src/platforms/esp/8266/clockless_esp8266.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platforms/esp/8266/clockless_esp8266.h b/src/platforms/esp/8266/clockless_esp8266.h
index 5170e38d..a4cbe6f2 100644
--- a/src/platforms/esp/8266/clockless_esp8266.h
+++ b/src/platforms/esp/8266/clockless_esp8266.h
@@ -72,6 +72,9 @@ protected:
// this fixes the flickering first pixel that started to occur with
// framework version 3.0.0
if ((__clock_cycles() - last_mark) >= (T1 + T2 + T3 - 5)) {
+ os_intr_unlock();
+ delayMicroseconds(WAIT_TIME);
+ os_intr_lock();
return true;
}
}