summaryrefslogtreecommitdiffstats
path: root/quantum/rgb_matrix.c
diff options
context:
space:
mode:
authorJames Laird-Wah <james@laird-wah.net>2018-09-28 05:53:36 +0200
committerDrashna Jaelre <drashna@live.com>2018-09-28 05:53:36 +0200
commitb382076ad1a6d857b6f185077b5f3635801b4ad6 (patch)
tree3c036d86511f3fff0f82b9901dd29334615ec7ef /quantum/rgb_matrix.c
parent7d2d0c6795eaaa87d4e13fc159807b64ca2d71f9 (diff)
downloadqmk_firmware-b382076ad1a6d857b6f185077b5f3635801b4ad6.tar.gz
qmk_firmware-b382076ad1a6d857b6f185077b5f3635801b4ad6.tar.xz
Keyboard: keyboardio model01: rgbmatrix support (#3989)
* model01: implement RGB matrix feature LEDs can still be individually controlled if this is switched off. * model01: use fast banked LED setting commands * model01: update default keymap to use RGB matrix * model01: update RGB matrix support to match common_features.mk * rgb_matrix: include <string.h> This was missing after commit 4d5705ea6ceeb11cd2adc018644ec87c51af4e86 which introduces a use of memset(). * model01: make g_rgb_leds weak This allows users to override which LEDs are configured as modifiers, or tweak the x/y coordinates, should they so choose.
Diffstat (limited to 'quantum/rgb_matrix.c')
-rw-r--r--quantum/rgb_matrix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index 807e4d62d..b282284a1 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -21,6 +21,7 @@
#include "progmem.h"
#include "config.h"
#include "eeprom.h"
+#include <string.h>
#include <math.h>
rgb_config_t rgb_matrix_config;