Browse Source

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

Co-authored-by: Ryan <fauxpark@gmail.com>
MelGeek 4 years ago
parent
commit
fe744eb1ad
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/issi/is31fl3741.c

+ 2 - 0
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;
     }
 }