diff options
Diffstat (limited to 'drivers/issi/is31fl3733.h')
| -rw-r--r-- | drivers/issi/is31fl3733.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/issi/is31fl3733.h b/drivers/issi/is31fl3733.h index 3d23b188a..e117b2546 100644 --- a/drivers/issi/is31fl3733.h +++ b/drivers/issi/is31fl3733.h | |||
| @@ -32,7 +32,7 @@ typedef struct is31_led { | |||
| 32 | 32 | ||
| 33 | extern const is31_led g_is31_leds[DRIVER_LED_TOTAL]; | 33 | extern const is31_led g_is31_leds[DRIVER_LED_TOTAL]; |
| 34 | 34 | ||
| 35 | void IS31FL3733_init( uint8_t addr ); | 35 | void IS31FL3733_init( uint8_t addr, uint8_t sync ); |
| 36 | void IS31FL3733_write_register( uint8_t addr, uint8_t reg, uint8_t data ); | 36 | void IS31FL3733_write_register( uint8_t addr, uint8_t reg, uint8_t data ); |
| 37 | void IS31FL3733_write_pwm_buffer( uint8_t addr, uint8_t *pwm_buffer ); | 37 | void IS31FL3733_write_pwm_buffer( uint8_t addr, uint8_t *pwm_buffer ); |
| 38 | 38 | ||
| @@ -45,8 +45,8 @@ void IS31FL3733_set_led_control_register( uint8_t index, bool red, bool green, b | |||
| 45 | // (eg. from a timer interrupt). | 45 | // (eg. from a timer interrupt). |
| 46 | // Call this while idle (in between matrix scans). | 46 | // Call this while idle (in between matrix scans). |
| 47 | // If the buffer is dirty, it will update the driver with the buffer. | 47 | // If the buffer is dirty, it will update the driver with the buffer. |
| 48 | void IS31FL3733_update_pwm_buffers( uint8_t addr1, uint8_t addr2 ); | 48 | void IS31FL3733_update_pwm_buffers( uint8_t addr, uint8_t index ); |
| 49 | void IS31FL3733_update_led_control_registers( uint8_t addr1, uint8_t addr2 ); | 49 | void IS31FL3733_update_led_control_registers( uint8_t addr, uint8_t index ); |
| 50 | 50 | ||
| 51 | #define A_1 0x00 | 51 | #define A_1 0x00 |
| 52 | #define A_2 0x01 | 52 | #define A_2 0x01 |
