mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 08:20:21 +00:00
[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:
co-authored by
Jonathan Swoboda
Jesse Hills
Keith Burzinski
parent
61499dbdd8
commit
265b6ec445
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user