aboutsummaryrefslogtreecommitdiff
path: root/keyboards/smallkeyboard
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/smallkeyboard')
-rw-r--r--keyboards/smallkeyboard/smallkeyboard.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/keyboards/smallkeyboard/smallkeyboard.c b/keyboards/smallkeyboard/smallkeyboard.c
index 4da85feff..f89a6d32b 100644
--- a/keyboards/smallkeyboard/smallkeyboard.c
+++ b/keyboards/smallkeyboard/smallkeyboard.c
@@ -1,35 +1,35 @@
1/* Copyright 2021 zhouqiong19840119 1/* Copyright 2021 zhouqiong19840119
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or 5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version. 6 * (at your option) any later version.
7 * 7 *
8 * This program is distributed in the hope that it will be useful, 8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 * 12 *
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "smallkeyboard.h" 16#include "smallkeyboard.h"
17 17
18#ifdef RGB_MATRIX_ENABLE 18#ifdef RGB_MATRIX_ENABLE
19 19
20const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { 20const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
21/* Refer to IS31 manual for these locations 21 /* Refer to IS31 manual for these locations
22 * driver 22 * driver
23 * | R location 23 * | R location
24 * | | G location 24 * | | G location
25 * | | | B location 25 * | | | B location
26 * | | | | */ 26 * | | | | */
27 {0, C1_3, C2_3, C3_3},// BL1 27 {0, C1_3, C2_3, C3_3}, // BL1
28 {0, C1_4, C2_4, C3_4},// BL2 28 {0, C1_4, C2_4, C3_4}, // BL2
29 {0, C1_5, C2_5, C3_5},// BL3 29 {0, C1_5, C2_5, C3_5}, // BL3
30 {0, C1_11, C2_11, C3_11},// BL4 30 {0, C1_11, C2_11, C3_11}, // BL4
31 {0, C1_12, C2_12, C3_12},// BL5 31 {0, C1_12, C2_12, C3_12}, // BL5
32 {0, C1_13, C2_13, C3_13},// BL6 32 {0, C1_13, C2_13, C3_13}, // BL6
33}; 33};
34 34
35led_config_t g_led_config = { 35led_config_t g_led_config = {
@@ -42,7 +42,7 @@ led_config_t g_led_config = {
42 { 80, 16},{ 64, 32},{ 80, 32} 42 { 80, 16},{ 64, 32},{ 80, 32}
43 }, 43 },
44 { 44 {
45 4, 4, 4, 45 4, 4, 4,
46 1, 1, 4 46 1, 1, 4
47 } 47 }
48}; 48};