Skip to content

Commit

Permalink
Update PWM register defines per 23052
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Feb 12, 2024
1 parent 0568e55 commit 6a69ce6
Show file tree
Hide file tree
Showing 4 changed files with 1,478 additions and 740 deletions.
2 changes: 0 additions & 2 deletions drivers/led/issi/is31fl3741-mono.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,12 @@ void is31fl3741_update_led_control_registers(uint8_t index) {
if (driver_buffers[index].scaling_buffer_dirty) {
is31fl3741_select_page(index, IS31FL3741_COMMAND_SCALING_0);

// CS1_SW1 to CS30_SW6 are on page 2
for (uint8_t i = 0; i < IS31FL3741_SCALING_0_REGISTER_COUNT; i++) {
is31fl3741_write_register(index, i, driver_buffers[index].scaling_buffer_0[i]);
}

is31fl3741_select_page(index, IS31FL3741_COMMAND_SCALING_1);

// CS1_SW7 to CS39_SW9 are on page 3
for (uint8_t i = 0; i < IS31FL3741_SCALING_1_REGISTER_COUNT; i++) {
is31fl3741_write_register(index, i, driver_buffers[index].scaling_buffer_1[i]);
}
Expand Down
Loading

0 comments on commit 6a69ce6

Please sign in to comment.