summaryrefslogtreecommitdiff
path: root/board/atlas/board.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-08-10 01:33:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-14 02:13:35 -0700
commit5419afaaf8986380a1e293330589b7850a074939 (patch)
treee47b61178caf3fc8176842b14375b36b7db9a883 /board/atlas/board.h
parent272db62ec09833750b7248288315a7e9824b9089 (diff)
downloadchrome-ec-5419afaaf8986380a1e293330589b7850a074939.tar.gz
atlas: update port LED colors to new spec
- only the LED next to the charging connection is on - "charging" is amber - full charge is white BUG=b:110505328 BRANCH=none TEST=flashed atlas, verified LEDs Change-Id: If4308b971980075305948c43980a2cd52192b7b5 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1170575 Commit-Ready: caveh jalali <caveh@chromium.org> Tested-by: caveh jalali <caveh@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/atlas/board.h')
-rw-r--r--board/atlas/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atlas/board.h b/board/atlas/board.h
index 55171d80f3..bebf4444c8 100644
--- a/board/atlas/board.h
+++ b/board/atlas/board.h
@@ -103,7 +103,10 @@
/* LEDs */
#define CONFIG_LED_COMMON
+#define CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY
#define CONFIG_LED_PWM_COUNT 2
+#undef CONFIG_LED_PWM_NEAR_FULL_COLOR
+#define CONFIG_LED_PWM_NEAR_FULL_COLOR EC_LED_COLOR_WHITE
/* Temperature Sensor */
#define CONFIG_TEMP_SENSOR