Fix WS2812 crash

This commit is contained in:
Stephan Hadinger 2021-11-29 09:57:10 +01:00
parent 1cdc1578f7
commit 84e9f2263d
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ public:
config.clk_div = T_SPEED::RmtClockDivider; config.clk_div = T_SPEED::RmtClockDivider;
ESP_ERROR_CHECK(rmt_config(&config)); ESP_ERROR_CHECK(rmt_config(&config));
ESP_ERROR_CHECK(rmt_driver_install(_channel.RmtChannelNumber, 0, ESP_INTR_FLAG_IRAM | ESP_INTR_FLAG_LEVEL1)); ESP_ERROR_CHECK(rmt_driver_install(_channel.RmtChannelNumber, 0, 0));
ESP_ERROR_CHECK(rmt_translator_init(_channel.RmtChannelNumber, T_SPEED::Translate)); ESP_ERROR_CHECK(rmt_translator_init(_channel.RmtChannelNumber, T_SPEED::Translate));
} }