Browse Source

Decrease LED animation frequency to improve performance (#19677)

Darkhan 3 years ago
parent
commit
fa132baa43
1 changed files with 2 additions and 2 deletions
  1. 2 2
      keyboards/annepro2/config_led.h

+ 2 - 2
keyboards/annepro2/config_led.h

@@ -20,8 +20,8 @@
 
 #define RGB_MATRIX_LED_COUNT 61
 
-/* Limit animations to 62.5 FPS to avoid tearing. (1/.016 = 62.5 FPS). */
-#define RGB_MATRIX_LED_FLUSH_LIMIT 16
+/* Limit animations to 25 FPS to avoid tearing. (1/.040 = 25 FPS). */
+#define RGB_MATRIX_LED_FLUSH_LIMIT 40
 
 #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
 #define RGB_MATRIX_KEYPRESSES