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

Co-authored-by: Ryan <fauxpark@gmail.com>
master
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
1 changed files with 2 additions and 0 deletions

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) {
IS31FL3741_write_register(addr, i, g_scaling_registers[0][180 + i]);
}
g_scaling_registers_update_required[index] = false;
}
}