Merge pull request #6 from eppfel/solidcolor-eeprom-fix

Fix writing of solid color to EEPROM
This commit is contained in:
Jason Coon 2016-07-18 21:21:05 -05:00 committed by GitHub
commit 8b97216931

View File

@ -642,8 +642,8 @@ void setSolidColor(uint8_t r, uint8_t g, uint8_t b)
solidColor = CRGB(r, g, b); solidColor = CRGB(r, g, b);
EEPROM.write(2, r); EEPROM.write(2, r);
EEPROM.write(3, r); EEPROM.write(3, g);
EEPROM.write(4, r); EEPROM.write(4, b);
setPattern(patternCount - 1); setPattern(patternCount - 1);
} }