rmt: update ir example to work with esp32s3 out of box

This commit is contained in:
morris
2021-11-30 18:03:00 +08:00
parent 815203f401
commit ed1fe1d5ba
3 changed files with 29 additions and 16 deletions

View File

@@ -17,8 +17,8 @@
static const char *TAG = "example";
static rmt_channel_t example_tx_channel = RMT_CHANNEL_0;
static rmt_channel_t example_rx_channel = RMT_CHANNEL_2;
static rmt_channel_t example_tx_channel = CONFIG_EXAMPLE_RMT_TX_CHANNEL;
static rmt_channel_t example_rx_channel = CONFIG_EXAMPLE_RMT_RX_CHANNEL;
/**
* @brief RMT Receive Task