From 151565bee41b9fb6472e552d9089c3b6428a67e6 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Mon, 9 Aug 2021 16:14:07 +0200 Subject: [PATCH] Removed arduino's delay() call --- FastLED.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastLED.cpp b/FastLED.cpp index 4dd376d..6330fd1 100644 --- a/FastLED.cpp +++ b/FastLED.cpp @@ -126,7 +126,7 @@ void CFastLED::delay(unsigned long ms) { #ifndef FASTLED_ACCURATE_CLOCK // make sure to allow at least one ms to pass to ensure the clock moves // forward - ::delay(1); + vTaskDelay(1 / portTICK_PERIOD_MS); #endif show(); yield();