Skip to content

Commit dd8343a

Browse files
committed
Fix LED flickering
1 parent eec21ba commit dd8343a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/espressif/boards/boards.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void board_init(void)
197197
config.mem_block_num = 4;
198198

199199
rmt_config(&config);
200-
rmt_driver_install(config.channel, 0, 0);
200+
rmt_driver_install(config.channel, 0, ESP_INTR_FLAG_IRAM);
201201

202202
led_strip_config_t strip_config = LED_STRIP_DEFAULT_CONFIG(NEOPIXEL_NUMBER, (led_strip_dev_t) config.channel);
203203
strip = led_strip_new_rmt_ws2812(&strip_config);

0 commit comments

Comments
 (0)