[Keyboard] Fixup Neson Design N6 ISSI includes (#14045)

This commit is contained in:
Drashna Jaelre 2021-08-17 10:31:34 -07:00 committed by GitHub
parent a6d2993fc5
commit fae5cc6c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 49 deletions

View file

@ -19,7 +19,7 @@
#include "n6.h" #include "n6.h"
#include "i2c_master.h" #include "i2c_master.h"
#include "issi/is31fl3731.h" #include "drivers/led/issi/is31fl3731.h"
enum { enum {
SELF_TESTING, SELF_TESTING,
@ -187,14 +187,14 @@ static void self_testing(void)
update_ticks(); update_ticks();
} }
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations /* Refer to IS31 manual for these locations
* driver * driver
* | R location * | R location
* | | G location * | | G location
* | | | B location * | | | B location
* | | | | */ * | | | | */
// left CA // left CA
{0, C1_1, C3_2, C4_2}, {0, C1_1, C3_2, C4_2},
{0, C1_2, C2_2, C4_3}, {0, C1_2, C2_2, C4_3},
{0, C1_3, C2_3, C3_3}, {0, C1_3, C2_3, C3_3},
@ -212,7 +212,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
{0, C9_6, C8_6, C7_6}, {0, C9_6, C8_6, C7_6},
{0, C9_7, C8_7, C6_6}, {0, C9_7, C8_7, C6_6},
{0, C9_8, C7_7, C6_7}, {0, C9_8, C7_7, C6_7},
// left CB // left CB
{0, C1_9, C3_10, C4_10}, {0, C1_9, C3_10, C4_10},
{0, C1_10, C2_10, C4_11}, {0, C1_10, C2_10, C4_11},
{0, C1_11, C2_11, C3_11}, {0, C1_11, C2_11, C3_11},

View file

@ -19,5 +19,5 @@ NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
QUANTUM_LIB_SRC += i2c_master.c issi/is31fl3731.c QUANTUM_LIB_SRC += i2c_master.c drivers/led/issi/is31fl3731.c
LAYOUTS = 65_ansi_blocker LAYOUTS = 65_ansi_blocker