Update RMTLoopback.ino (#3823)
BUGFIX: avoids assertion in xEventGroupWaitBits() (/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/event_groups.c:350 (xEventGroupWaitBits)- assert failed!)
This commit is contained in:
parent
daa8c55667
commit
9856f0cc28
@ -16,6 +16,7 @@ static EventGroupHandle_t events;
|
|||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
events = xEventGroupCreate();
|
||||||
|
|
||||||
if ((rmt_send = rmtInit(18, true, RMT_MEM_64)) == NULL)
|
if ((rmt_send = rmtInit(18, true, RMT_MEM_64)) == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user