diff --git a/cores/esp32/esp32-hal-rmt.c b/cores/esp32/esp32-hal-rmt.c index 9131970a608..e5838a91f25 100644 --- a/cores/esp32/esp32-hal-rmt.c +++ b/cores/esp32/esp32-hal-rmt.c @@ -537,6 +537,7 @@ bool rmtInit(int pin, rmt_ch_dir_t channel_direction, rmt_reserve_memsize_t mem_ rx_cfg.flags.invert_in = 0; rx_cfg.flags.with_dma = 0; rx_cfg.flags.io_loop_back = 0; + rx_cfg.intr_priority = 0; // try to allocate the RMT Channel if (ESP_OK != rmt_new_rx_channel(&rx_cfg, &bus->rmt_channel_h)) { log_e("GPIO %d RMT - RX Initialization error.", pin); @@ -595,4 +596,4 @@ bool rmtInit(int pin, rmt_ch_dir_t channel_direction, rmt_reserve_memsize_t mem_ return false; } -#endif /* SOC_RMT_SUPPORTED */ \ No newline at end of file +#endif /* SOC_RMT_SUPPORTED */