forked from bbulkow/FastLED-idf
Removed arduino's delay() call
This commit is contained in:
@@ -126,7 +126,7 @@ void CFastLED::delay(unsigned long ms) {
|
|||||||
#ifndef FASTLED_ACCURATE_CLOCK
|
#ifndef FASTLED_ACCURATE_CLOCK
|
||||||
// make sure to allow at least one ms to pass to ensure the clock moves
|
// make sure to allow at least one ms to pass to ensure the clock moves
|
||||||
// forward
|
// forward
|
||||||
::delay(1);
|
vTaskDelay(1 / portTICK_PERIOD_MS);
|
||||||
#endif
|
#endif
|
||||||
show();
|
show();
|
||||||
yield();
|
yield();
|
||||||
|
Reference in New Issue
Block a user