1
0
Fork 0

[Driver] bugfix reset the scaling register flag to FALSE (#9507)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
MelGeek 2020-07-06 20:38:41 +08:00 committed by GitHub
parent 85e20a5cf4
commit fe744eb1ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,6 +272,8 @@ void IS31FL3741_update_led_control_registers(uint8_t addr, uint8_t index) {
for (int i = 0; i < 171; ++i) { for (int i = 0; i < 171; ++i) {
IS31FL3741_write_register(addr, i, g_scaling_registers[0][180 + i]); IS31FL3741_write_register(addr, i, g_scaling_registers[0][180 + i]);
} }
g_scaling_registers_update_required[index] = false;
} }
} }