31fl3729.c: fix shift wrong way

This commit is contained in:
true 2024-07-28 15:30:20 -07:00
parent a675f6d19b
commit 7a11164f8d
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void is31fl3729_set_outputs(uint8_t i2c_addr, uint8_t sw, uint8_t *out, uint8_t
// calculate start address
sw--;
sw >>= 4;
sw <<= 4;
sw++;
i2c_write_addr1b(i2c_addr, sw, out, len);