summaryrefslogtreecommitdiff
path: root/include/pwm.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-08-20 14:16:53 +0800
committerChromeBot <chrome-bot@google.com>2013-08-21 19:20:44 -0700
commit0e024b2bae085f12ec4df33000799339aef38809 (patch)
treee62357e408cf9f75a3ce4661c7fdd68d3c5e36f1 /include/pwm.h
parent5d1eeefdbcf16e9eb18540b7b6ed4aff8609c4d9 (diff)
downloadchrome-ec-0e024b2bae085f12ec4df33000799339aef38809.tar.gz
Fix a bug that I2C error may cause incorrect LED color
If there is an I2C transaction error while setting LED color, the three LED color channels might be in an inconsistent state. In this case, we should explicitly set the LED state to INVALID so as to force the next LED color update. BUG=None TEST=Build success BRANCH=Spring Change-Id: I1353044ef782481872d692f15748413ef539cb27 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/66314 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/pwm.h')
0 files changed, 0 insertions, 0 deletions