[Core] RGB Matrix limit basic indicators to the last render (#21169)
Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
1 parent
ed6528b3e3
commit
c4f66e5d6e
4 files changed
+12
-4
No files matched your search
@@ -366,7 +366,10 @@ void led_matrix_task(void) {
|
||||
case RENDERING:
|
||||
led_task_render(effect);
|
||||
if (effect) {
|
||||
led_matrix_indicators();
|
||||
// Only run the basic indicators in the last render iteration (default there are 5 iterations)
|
||||
if (led_effect_params.iter == LED_MATRIX_LED_PROCESS_MAX_ITERATIONS) {
|
||||
led_matrix_indicators();
|
||||
}
|
||||
led_matrix_indicators_advanced(&led_effect_params);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user