mirror of https://github.com/arendst/Tasmota.git
Fix WS2812 crash
This commit is contained in:
parent
1cdc1578f7
commit
84e9f2263d
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue