Skip to content
Snippets Groups Projects
Commit 5f83cffb authored by Jens Nolte's avatar Jens Nolte
Browse files

Increase led strip priority to reduce flicker

parent 85d43662
No related branches found
No related tags found
1 merge request!8Updating bme280-qthing
......@@ -73,11 +73,10 @@ namespace qthing {
set_led_strip_fps(led_strip_fps);
// pin this to app cpu as it may consume a lot of cycles
// also assign prio of 2 since arduino's main-loop uses 1 if linked into app
xTaskCreatePinnedToCore(render_loop, "render_loop", 10000, NULL, 2, NULL, 1);
xTaskCreatePinnedToCore(render_loop, "render_loop", 10000, NULL, 6, NULL, 1);
}
void set_color_handler(led_color_handler_t led_color_handler) {
led_handler = led_color_handler;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment