aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/drashna
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/drashna')
-rw-r--r--layouts/community/ergodox/drashna/keymap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/layouts/community/ergodox/drashna/keymap.c b/layouts/community/ergodox/drashna/keymap.c
index 3cfce966b..08689cf3d 100644
--- a/layouts/community/ergodox/drashna/keymap.c
+++ b/layouts/community/ergodox/drashna/keymap.c
@@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24# define UC(x) KC_NO 24# define UC(x) KC_NO
25#endif 25#endif
26 26
27#ifdef RGB_MATRIX_ENABLE
28extern bool g_suspend_state;
29extern rgb_config_t rgb_matrix_config;
30#endif
31extern userspace_config_t userspace_config; 27extern userspace_config_t userspace_config;
32 28
33enum more_custom_keycodes { 29enum more_custom_keycodes {
@@ -403,7 +399,6 @@ void suspend_wakeup_init_keymap(void) {
403 rgb_matrix_set_suspend_state(false); 399 rgb_matrix_set_suspend_state(false);
404} 400}
405 401
406extern led_config_t g_led_config;
407void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, bool default_layer) { 402void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, bool default_layer) {
408 for (int i = 0; i < DRIVER_LED_TOTAL; i++) { 403 for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
409 if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) { 404 if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) {