summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelGeek <65591833+melgeek001365@users.noreply.github.com>2020-07-06 20:38:41 +0800
committerDrashna Jael're <drashna@live.com>2020-08-08 22:13:59 -0700
commit54b43070185f62c56e28d443fb945a7a5f28dcaa (patch)
tree640661e9e01e517ffa261292a793fc2340269eff
parent58fd4f077d7d4b3dd38d7d27d5e45dd4133e86ce (diff)
[Driver] bugfix reset the scaling register flag to FALSE (#9507)
Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--drivers/issi/is31fl3741.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/issi/is31fl3741.c b/drivers/issi/is31fl3741.c
index ab4b31465b..fc5c58835d 100644
--- a/drivers/issi/is31fl3741.c
+++ b/drivers/issi/is31fl3741.c
@@ -272,6 +272,8 @@ void IS31FL3741_update_led_control_registers(uint8_t addr, uint8_t index) {
for (int i = 0; i < 171; ++i) {
IS31FL3741_write_register(addr, i, g_scaling_registers[0][180 + i]);
}
+
+ g_scaling_registers_update_required[index] = false;
}
}