diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-06-01 14:56:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 21:56:23 -0700 |
commit | 5a06813b105277998b80771f094059047916f4e4 (patch) | |
tree | 96794823b1e1a2396488a7d53a4c7f5919f73b38 /keyboards/mt64rgb/keymaps/via/keymap.c | |
parent | 6bafefa88602c8032f6f861844ba0ac886d312a0 (diff) |
VIA compile fixes (#13054)
Diffstat (limited to 'keyboards/mt64rgb/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/mt64rgb/keymaps/via/keymap.c | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/keyboards/mt64rgb/keymaps/via/keymap.c b/keyboards/mt64rgb/keymaps/via/keymap.c index a182e1a6a2..7a9a2c1441 100644 --- a/keyboards/mt64rgb/keymaps/via/keymap.c +++ b/keyboards/mt64rgb/keymaps/via/keymap.c @@ -1,18 +1,18 @@ /* Copyright 2020 MT<704340378@qq.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include QMK_KEYBOARD_H @@ -44,8 +44,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_DEC, BL_TOGG, BL_INC, BL_STEP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), }; + void rgb_matrix_indicators_user(void) { - if (!g_suspend_state && layer_state_is(1)) { + if (layer_state_is(1)) { rgb_matrix_set_color(77,0xFF, 0x80, 0x00); } if (host_keyboard_led_state().caps_lock) { |