From 9856f0cc2892ad66ae3017a1473c3eb447f3b05a Mon Sep 17 00:00:00 2001 From: jgdent <62173640+jgdent@users.noreply.github.com> Date: Wed, 30 Sep 2020 13:52:22 +0200 Subject: [PATCH] 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!) --- libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino b/libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino index 54f2d2c9..248aad3f 100644 --- a/libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino +++ b/libraries/ESP32/examples/RMT/RMTLoopback/RMTLoopback.ino @@ -16,6 +16,7 @@ static EventGroupHandle_t events; void setup() { Serial.begin(115200); + events = xEventGroupCreate(); if ((rmt_send = rmtInit(18, true, RMT_MEM_64)) == NULL) {