diff options
author | Jack Humbert <jack.humb@gmail.com> | 2018-06-22 21:26:30 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-06-22 21:26:30 -0400 |
commit | 6380f8319057d33bb6d07c66789867e49c634504 (patch) | |
tree | e469a238792c60c3016e4f8fd4226497451da9e6 /quantum | |
parent | 76e0d23887b8ddc70e9afb30bb7b91e9fec96c35 (diff) | |
download | qmk_firmware-6380f8319057d33bb6d07c66789867e49c634504.tar.gz |
refactor, non-working
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/rgb_matrix.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index d71283f7c..874573bb2 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c @@ -102,13 +102,8 @@ void map_row_column_to_led( uint8_t row, uint8_t column, uint8_t *led_i, uint8_t } void rgb_matrix_update_pwm_buffers(void) { - uint8_t ret = IS31FL3731_update_pwm_buffers( DRIVER_ADDR_1, DRIVER_ADDR_2 ); - ret |= IS31FL3731_update_led_control_registers( DRIVER_ADDR_1, DRIVER_ADDR_2 ); - if (ret == 2) { - wait_ms(1000); - i2c_stop(); - rgb_matrix_setup_drivers(); - } + IS31FL3731_update_pwm_buffers( DRIVER_ADDR_1, DRIVER_ADDR_2 ); + IS31FL3731_update_led_control_registers( DRIVER_ADDR_1, DRIVER_ADDR_2 ); } void rgb_matrix_set_color( int index, uint8_t red, uint8_t green, uint8_t blue ) { |