mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
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>
This commit is contained in:
committed by
chrome-internal-fetch
parent
4bbbf04437
commit
f0809a2399
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user