diff options
author | MelGeek <65591833+melgeek001365@users.noreply.github.com> | 2020-07-06 20:38:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 22:38:41 +1000 |
commit | fe744eb1ad2ee982dd94bd389f262a62332934d5 (patch) | |
tree | d1068999ba894c5ba9d5cf635631062065a6f55d | |
parent | 85e20a5cf433c2164e3d0a5c8de8cbd5dfc4c6fe (diff) |
[Driver] bugfix reset the scaling register flag to FALSE (#9507)
Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r-- | drivers/issi/is31fl3741.c | 2 |
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; } } |