summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-28 10:45:45 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-28 08:21:22 +0000
commit416673ae9147fbfc68da28548a008c242b014da4 (patch)
tree4dbf180286f2b8984b87e9f4c3270da87511bcd7 /include
parent441c185367ecf4673bc3a290c976398a48878e49 (diff)
downloadchrome-ec-416673ae9147fbfc68da28548a008c242b014da4.tar.gz
common: led_onoff_states: Add missing extern declarations
Add led_charge_lvl_1 and led_charge_lvl_2 in led_onoff_states.h BUG=none BRANCH=none TEST=make buildall Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: I948f7f8a18409dd210551a92415fcc3d7af8b9a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058154 Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/led_onoff_states.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/led_onoff_states.h b/include/led_onoff_states.h
index 7eb8b312f7..63955e590a 100644
--- a/include/led_onoff_states.h
+++ b/include/led_onoff_states.h
@@ -53,6 +53,9 @@ struct led_descriptor {
uint8_t time;
};
+extern const int led_charge_lvl_1;
+extern const int led_charge_lvl_2;
+
enum pwr_led_states {
PWR_LED_STATE_ON,
PWR_LED_STATE_SUSPEND_AC,