summaryrefslogtreecommitdiff
path: root/drivers/issi/is31fl3741.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-09-03 11:25:14 +0000
committerQMK Bot <hello@qmk.fm>2020-09-03 11:25:14 +0000
commit25e93b4b677c85165f6996f3de96f260121f549a (patch)
tree88be4155d7eba1d451906f9fe395bdf1da5333fa /drivers/issi/is31fl3741.c
parent2f26e14dc627592734769424b09007e02ddb3c09 (diff)
downloadqmk_firmware-25e93b4b677c85165f6996f3de96f260121f549a.tar.gz
qmk_firmware-25e93b4b677c85165f6996f3de96f260121f549a.zip
format code according to conventions [skip ci]
Diffstat (limited to 'drivers/issi/is31fl3741.c')
-rw-r--r--drivers/issi/is31fl3741.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/issi/is31fl3741.c b/drivers/issi/is31fl3741.c
index 99d72b9b01..bc434fb297 100644
--- a/drivers/issi/is31fl3741.c
+++ b/drivers/issi/is31fl3741.c
@@ -78,7 +78,6 @@ bool g_scaling_registers_update_required[DRIVER_COUNT] = {false};
uint8_t g_scaling_registers[DRIVER_COUNT][ISSI_MAX_LEDS];
-
void IS31FL3741_write_register(uint8_t addr, uint8_t reg, uint8_t data) {
g_twi_transfer_buffer[0] = reg;
g_twi_transfer_buffer[1] = data;
@@ -174,7 +173,7 @@ void IS31FL3741_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
g_pwm_buffer[led.driver][led.r] = red;
g_pwm_buffer[led.driver][led.g] = green;
g_pwm_buffer[led.driver][led.b] = blue;
- g_pwm_buffer_update_required = true;
+ g_pwm_buffer_update_required = true;
}
}
@@ -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->b] = blue;
}
-