[esp32_rmt] Updates for IDF 5+ (#7770)

Co-authored-by: Jonathan Swoboda <jonathan.swoboda>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
Jonathan Swoboda
2024-12-18 20:31:22 -06:00
committed by GitHub
co-authored by Jonathan Swoboda Jesse Hills Keith Burzinski
parent 61499dbdd8
commit 265b6ec445
33 changed files with 817 additions and 379 deletions
@@ -8,7 +8,7 @@ namespace remote_base {
static const char *const TAG = "remote_base";
#ifdef USE_ESP32
#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR < 5
RemoteRMTChannel::RemoteRMTChannel(uint8_t mem_block_num) : mem_block_num_(mem_block_num) {
static rmt_channel_t next_rmt_channel = RMT_CHANNEL_0;
this->channel_ = next_rmt_channel;