diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-08-19 19:01:29 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-20 22:42:15 +0000 |
commit | f883354bbad138390142fdeaa554f55ee51551ef (patch) | |
tree | 22fcffeda103aae6bd5b81163baa5acf8fffd6cd /test/test_config.h | |
parent | 1b52de3e3c73886784ea1216b34305919449bd24 (diff) | |
download | chrome-ec-f883354bbad138390142fdeaa554f55ee51551ef.tar.gz |
lightbar: correctly revert to the S0/S3/S5 patterns
This CL ensures that temporary "one-shot" sequences such as KONAMI, TEST,
TAP, etc. will revert to the previous "normal" sequences even when
interrupted by other one-shot sequences.
This also adds a test for those cases.
BUG=chrome-os-partner:29873
BRANCH=ToT
TEST=manual
make runtests
Change-Id: Ie83908731acdf2f7c9108568a1ba047943175d26
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/213230
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index adcda73578..299e3e7930 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -112,5 +112,9 @@ int board_discharge_on_ac(int enabled); #define I2C_PORT_CHARGER 1 #endif +#ifdef TEST_LIGHTBAR +#define I2C_PORT_LIGHTBAR 1 +#endif + #endif /* TEST_BUILD */ #endif /* __CROS_EC_TEST_CONFIG_H */ |