forked from Makuna/NeoPixelBus
Removed arduino's delay() call
This commit is contained in:
@ -305,7 +305,7 @@ public:
|
||||
|
||||
// Need 100% focus on instruction timing
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
delay(1); // required
|
||||
vTaskDelay(1 / portTICK_PERIOD_MS); // required
|
||||
portMUX_TYPE updateMux = portMUX_INITIALIZER_UNLOCKED;
|
||||
|
||||
portENTER_CRITICAL(&updateMux);
|
||||
@ -398,4 +398,4 @@ typedef NeoEsp8266BitBang400KbpsInvertedMethod NeoEsp8266BitBangApa106InvertedMe
|
||||
#endif
|
||||
|
||||
// ESP bitbang doesn't have defaults and should avoided except for testing
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user