format code according to conventions [skip ci]
This commit is contained in:
parent
2f26e14dc6
commit
25e93b4b67
2 changed files with 83 additions and 86 deletions
|
@ -78,7 +78,6 @@ bool g_scaling_registers_update_required[DRIVER_COUNT] = {false};
|
||||||
|
|
||||||
uint8_t g_scaling_registers[DRIVER_COUNT][ISSI_MAX_LEDS];
|
uint8_t g_scaling_registers[DRIVER_COUNT][ISSI_MAX_LEDS];
|
||||||
|
|
||||||
|
|
||||||
void IS31FL3741_write_register(uint8_t addr, uint8_t reg, uint8_t data) {
|
void IS31FL3741_write_register(uint8_t addr, uint8_t reg, uint8_t data) {
|
||||||
g_twi_transfer_buffer[0] = reg;
|
g_twi_transfer_buffer[0] = reg;
|
||||||
g_twi_transfer_buffer[1] = data;
|
g_twi_transfer_buffer[1] = data;
|
||||||
|
@ -253,4 +252,3 @@ void IS31FL3741_set_scaling_registers(const is31_led *pled, uint8_t red, uint8_t
|
||||||
g_scaling_registers[pled->driver][pled->g] = green;
|
g_scaling_registers[pled->driver][pled->g] = green;
|
||||||
g_scaling_registers[pled->driver][pled->b] = blue;
|
g_scaling_registers[pled->driver][pled->b] = blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -419,4 +419,3 @@ void IS31FL3741_set_pwm_buffer(const is31_led *pled, uint8_t red, uint8_t green,
|
||||||
#define CS37_SW9 0x15C
|
#define CS37_SW9 0x15C
|
||||||
#define CS38_SW9 0x15D
|
#define CS38_SW9 0x15D
|
||||||
#define CS39_SW9 0x15E
|
#define CS39_SW9 0x15E
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue