summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkhan <darkhanu@gmail.com>2023-01-25 00:19:32 +0000
committerGitHub <noreply@github.com>2023-01-25 11:19:32 +1100
commitfa132baa43a69ce7245e977916280eac5f8a0485 (patch)
tree2db60280367f678cd50dbd1f20fcec13cc7fbc00
parent8af872056afd3b448c5203f4cd773d8c5cee15eb (diff)
Decrease LED animation frequency to improve performance (#19677)
-rw-r--r--keyboards/annepro2/config_led.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/annepro2/config_led.h b/keyboards/annepro2/config_led.h
index e6d4dc35fb..12ccd995ad 100644
--- a/keyboards/annepro2/config_led.h
+++ b/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