summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2019-05-16 05:09:36 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-05-15 21:09:36 -0700
commitacd3e79add2d47ab664b831936e5b6e71d3b8e15 (patch)
tree7fede0ba898a56246cbd02d72378d84c03974f8d /quantum
parent8680c50d07604836b0fc7c3f97bd77c7830ea083 (diff)
NK65 Addition (#5865)
* Nk65 initial commit * Minor fix for compatibility * Make everything pretty * Update keyboards/nk65/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/nk65/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Chmod Dummy * Update getting_started_introduction.md * Revert "Update getting_started_introduction.md" This reverts commit daf446acf7ae4ae00488b389ce04f2cfca708d44.
Diffstat (limited to 'quantum')
-rw-r--r--quantum/led_matrix_drivers.c8
-rw-r--r--quantum/rgb_matrix_drivers.c8
2 files changed, 9 insertions, 7 deletions
diff --git a/quantum/led_matrix_drivers.c b/quantum/led_matrix_drivers.c
index 4ee509ee56..cb91821a40 100644
--- a/quantum/led_matrix_drivers.c
+++ b/quantum/led_matrix_drivers.c
@@ -53,16 +53,16 @@ static void init(void) {
#endif
#else
#ifdef LED_DRIVER_ADDR_1
- IS31FL3733_init(LED_DRIVER_ADDR_1);
+ IS31FL3733_init(LED_DRIVER_ADDR_1, 0 );
#endif
#ifdef LED_DRIVER_ADDR_2
- IS31FL3733_init(LED_DRIVER_ADDR_2);
+ IS31FL3733_init(LED_DRIVER_ADDR_2, 0 );
#endif
#ifdef LED_DRIVER_ADDR_3
- IS31FL3733_init(LED_DRIVER_ADDR_3);
+ IS31FL3733_init(LED_DRIVER_ADDR_3, 0 );
#endif
#ifdef LED_DRIVER_ADDR_4
- IS31FL3733_init(LED_DRIVER_ADDR_4);
+ IS31FL3733_init(LED_DRIVER_ADDR_4, 0 );
#endif
#endif
diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c
index 1d64dc9093..2a3aa9a5e0 100644
--- a/quantum/rgb_matrix_drivers.c
+++ b/quantum/rgb_matrix_drivers.c
@@ -34,7 +34,7 @@ static void init( void )
IS31FL3731_init( DRIVER_ADDR_1 );
IS31FL3731_init( DRIVER_ADDR_2 );
#elif defined(IS31FL3733)
- IS31FL3733_init( DRIVER_ADDR_1 );
+ IS31FL3733_init( DRIVER_ADDR_1, 0 );
#else
IS31FL3737_init( DRIVER_ADDR_1 );
#endif
@@ -53,7 +53,8 @@ static void init( void )
#ifdef IS31FL3731
IS31FL3731_update_led_control_registers( DRIVER_ADDR_1, DRIVER_ADDR_2 );
#elif defined(IS31FL3733)
- IS31FL3733_update_led_control_registers( DRIVER_ADDR_1, DRIVER_ADDR_2 );
+ IS31FL3733_update_led_control_registers( DRIVER_ADDR_1, 0 );
+ IS31FL3733_update_led_control_registers( DRIVER_ADDR_2, 1 );
#else
IS31FL3737_update_led_control_registers( DRIVER_ADDR_1, DRIVER_ADDR_2 );
#endif
@@ -74,7 +75,8 @@ const rgb_matrix_driver_t rgb_matrix_driver = {
#elif defined(IS31FL3733)
static void flush( void )
{
- IS31FL3733_update_pwm_buffers( DRIVER_ADDR_1, DRIVER_ADDR_2 );
+ IS31FL3733_update_pwm_buffers( DRIVER_ADDR_1, 0);
+ IS31FL3733_update_pwm_buffers( DRIVER_ADDR_2, 1);
}
const rgb_matrix_driver_t rgb_matrix_driver = {