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:
authorsascha <sascha_lammers@gmx.de>2021-07-11 08:29:53 +0300
committersascha <sascha_lammers@gmx.de>2021-07-11 08:29:53 +0300
commit5967bc3f1dbf203fa60158da48497a58fff3ff2a (patch)
treedfb366aea4ae86a0bb2d959aa411c2f22b08a435
parentdbc156db5ba22ea5b17f6b9632c93029ce8f3b41 (diff)
increased WAIT_TIME
-rw-r--r--src/platforms/esp/8266/clockless_esp8266.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/platforms/esp/8266/clockless_esp8266.h b/src/platforms/esp/8266/clockless_esp8266.h
index a4cbe6f2..cf6690c6 100644
--- a/src/platforms/esp/8266/clockless_esp8266.h
+++ b/src/platforms/esp/8266/clockless_esp8266.h
@@ -16,7 +16,7 @@ __attribute__ ((always_inline)) inline static uint32_t __clock_cycles() {
#define FASTLED_HAS_CLOCKLESS 1
-template <int DATA_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = RGB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 50>
+template <int DATA_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = RGB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 85>
class ClocklessController : public CPixelLEDController<RGB_ORDER> {
typedef typename FastPin<DATA_PIN>::port_ptr_t data_ptr_t;
typedef typename FastPin<DATA_PIN>::port_t data_t;
@@ -72,9 +72,6 @@ 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;
}
}