Skip to content

Commit 9856f0c

Browse files
authored
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!)
1 parent daa8c55 commit 9856f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static EventGroupHandle_t events;
1616
void setup()
1717
{
1818
Serial.begin(115200);
19+
events = xEventGroupCreate();
1920

2021
if ((rmt_send = rmtInit(18, true, RMT_MEM_64)) == NULL)
2122
{

0 commit comments

Comments
 (0)