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