Skip to content

Commit

Permalink
Decrease LED animation frequency to improve performance (qmk#19677)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdarkhan authored Jan 25, 2023
1 parent 8af8720 commit fa132ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyboards/annepro2/config_led.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa132ba

Please sign in to comment.