Select all zones before applying Polychrome colors

This commit is contained in:
Adam Honse 2020-08-26 15:04:43 -05:00
parent 1b863fdc7b
commit 989dc7fc5d
2 changed files with 7 additions and 0 deletions

View file

@ -129,6 +129,11 @@ void PolychromeController::SetColorsAndSpeed(unsigned char red, unsigned char gr
}
else
{
/*-----------------------------------------------------*\
| Select all zones for now |
\*-----------------------------------------------------*/
bus->i2c_smbus_write_block_data(dev, POLYCHROME_REG_ZONE_SELECT_ALL, 1);
/*-----------------------------------------------------*\
| Polychrome firmware always writes color to fixed reg |
\*-----------------------------------------------------*/