diff options
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix.c')
| -rw-r--r-- | quantum/rgb_matrix/rgb_matrix.c | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/quantum/rgb_matrix/rgb_matrix.c b/quantum/rgb_matrix/rgb_matrix.c index 1f3912cf7e..96be615162 100644 --- a/quantum/rgb_matrix/rgb_matrix.c +++ b/quantum/rgb_matrix/rgb_matrix.c @@ -19,8 +19,13 @@  #include "rgb_matrix.h"  #include "progmem.h"  #include "eeprom.h" +#include "eeconfig.h" +#include "keyboard.h" +#include "sync_timer.h" +#include "debug.h"  #include <string.h>  #include <math.h> +#include <stdlib.h>  #include <lib/lib8tion/lib8tion.h> @@ -428,7 +433,10 @@ void rgb_matrix_task(void) {          case RENDERING:              rgb_task_render(effect);              if (effect) { -                rgb_matrix_indicators(); +                // Only run the basic indicators in the last render iteration (default there are 5 iterations) +                if (rgb_effect_params.iter == RGB_MATRIX_LED_PROCESS_MAX_ITERATIONS) { +                    rgb_matrix_indicators(); +                }                  rgb_matrix_indicators_advanced(&rgb_effect_params);              }              break; | 
