summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-11-05 08:45:42 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-06 02:28:18 +0000
commitf0809a23997d66265e625d23ebef8dba1465732f (patch)
treeacc706f57f088b42d26a25e7c4aeaf42f99e681a
parent4bbbf044373605938050f7dc0e680eea38278cd9 (diff)
downloadchrome-ec-f0809a23997d66265e625d23ebef8dba1465732f.tar.gz
Re-Calibrated lightbar values for Samus & Ryu
New values from lab testing with slightly higher intensity. BUG=chrome-os-partner:33017 BRANCH=ToT,samus,ryu TEST=manual ectool lightbar brightness ff ectool lightbar seq s3s0 ectool lightbar Resulting current levels: 15 00 2d 16 2a 0a 17 26 13 18 10 0b 19 10 26 1a 1b 0d Change-Id: I118bf2fda3dee67b27c5d6a5825b7a9a96dc66dd Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/227515 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/lb_common.c6
-rw-r--r--common/lightbar.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/common/lb_common.c b/common/lb_common.c
index 533ebbfa71..2e04a2fabd 100644
--- a/common/lb_common.c
+++ b/common/lb_common.c
@@ -67,9 +67,9 @@ static inline uint8_t controller_read(int ctrl_num, uint8_t reg)
* Samus LEDs can handle much higher currents, but these constants were
* calibrated to provide uniform intensity at the level used by Link.
* See crosbug.com/p/33017 before making any changes. */
-#define MAX_RED 0x28
-#define MAX_GREEN 0x24
-#define MAX_BLUE 0x34
+#define MAX_RED 0x34
+#define MAX_GREEN 0x2c
+#define MAX_BLUE 0x40
#endif
#ifdef BOARD_HOST
/* For testing only */
diff --git a/common/lightbar.c b/common/lightbar.c
index da8121ce70..5ae8ca5167 100644
--- a/common/lightbar.c
+++ b/common/lightbar.c
@@ -110,10 +110,10 @@ static const struct lightbar_params_v1 default_params = {
* https://sites.google.com/a/google.com/brandsite/the-colours
* See crosbug.com/p/33017 before making any changes.
*/
- {0x50, 0x98, 0xe8}, /* 0: Google blue */
- {0xdb, 0x44, 0x37}, /* 1: Google red */
- {0xf4, 0xb4, 0x00}, /* 2: Google yellow */
- {0x00, 0x88, 0x30}, /* 3: Google green */
+ {0x34, 0x70, 0xb4}, /* 0: Google blue */
+ {0xbc, 0x50, 0x2c}, /* 1: Google red */
+ {0xd0, 0xe0, 0x00}, /* 2: Google yellow */
+ {0x50, 0xa0, 0x40}, /* 3: Google green */
/* These are primary colors */
{0x00, 0x00, 0xff}, /* 4: full blue */
{0xff, 0x00, 0x00}, /* 5: full red */