From a5ea619139cb08f49cbfa440984ee2604f7104ba Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 9 Feb 2024 22:37:18 +1100 Subject: LED drivers: place I2C addresses into an array (#22975) --- drivers/led/issi/is31fl3745-mono.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drivers/led/issi/is31fl3745-mono.h') diff --git a/drivers/led/issi/is31fl3745-mono.h b/drivers/led/issi/is31fl3745-mono.h index f60f0acfd9..02d926cd7d 100644 --- a/drivers/led/issi/is31fl3745-mono.h +++ b/drivers/led/issi/is31fl3745-mono.h @@ -82,17 +82,17 @@ typedef struct is31fl3745_led_t { extern const is31fl3745_led_t PROGMEM g_is31fl3745_leds[IS31FL3745_LED_COUNT]; void is31fl3745_init_drivers(void); -void is31fl3745_init(uint8_t addr, uint8_t sync); -void is31fl3745_write_register(uint8_t addr, uint8_t reg, uint8_t data); -void is31fl3745_select_page(uint8_t addr, uint8_t page); +void is31fl3745_init(uint8_t index); +void is31fl3745_write_register(uint8_t index, uint8_t reg, uint8_t data); +void is31fl3745_select_page(uint8_t index, uint8_t page); void is31fl3745_set_value(int index, uint8_t value); void is31fl3745_set_value_all(uint8_t value); void is31fl3745_set_scaling_register(uint8_t index, uint8_t value); -void is31fl3745_update_pwm_buffers(uint8_t addr, uint8_t index); -void is31fl3745_update_scaling_registers(uint8_t addr, uint8_t index); +void is31fl3745_update_pwm_buffers(uint8_t index); +void is31fl3745_update_scaling_registers(uint8_t index); void is31fl3745_flush(void); -- cgit v1.2.3