[Keyboard] Tweak RGB Matrix timing for ZSA Boards (#6422)
authorDrashna Jaelre <drashna@live.com>
Wed, 21 Aug 2019 05:39:13 +0000 (22:39 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2019 05:39:13 +0000 (22:39 -0700)
* Optimize RGB Matrix rendering for Ergodox EZ

* Optimize RGB Matrix rendering for Planck EZ

* Update keyboards/planck/ez/config.h

Co-Authored-By: Joel Challis <git@zvecr.com>
keyboards/ergodox_ez/config.h
keyboards/planck/ez/config.h

index d22836b..45ca06a 100644 (file)
@@ -109,6 +109,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define DRIVER_2_LED_TOTAL 24
 #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 
+#define RGB_MATRIX_LED_PROCESS_LIMIT 5
+#define RGB_MATRIX_LED_FLUSH_LIMIT 26
+
 // #define RGBLIGHT_COLOR_LAYER_0 0x00, 0x00, 0xFF
 /* #define RGBLIGHT_COLOR_LAYER_1 0x00, 0x00, 0xFF */
 /* #define RGBLIGHT_COLOR_LAYER_2 0xFF, 0x00, 0x00 */
index d007873..61d9981 100644 (file)
 #define RGB_MATRIX_KEYPRESSES
 #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
 
+#define RGB_MATRIX_LED_PROCESS_LIMIT 5
+#define RGB_MATRIX_LED_FLUSH_LIMIT 26
+
+
 #define IGNORE_MOD_TAP_INTERRUPT
 
 #define TAPPING_TOGGLE  1