summaryrefslogtreecommitdiff
path: root/include/btle_hci2.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-04-16 15:47:19 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-22 22:30:42 +0000
commit0f3b5955efc635ff6f387485733f66e7e1971918 (patch)
tree113da9c190051dbafe44b73a8063385dd92e3d4b /include/btle_hci2.h
parent6ada099de9c62d6cc290be071fee4529ed86566c (diff)
downloadchrome-ec-0f3b5955efc635ff6f387485733f66e7e1971918.tar.gz
LED On/Off: Allow compiling without CONFIG_CHARGER
The header for charge_get_percent() will only define this function if CONFIG_CHARGER is present. Make a declaration for complilation to use, and then allow most of the led_get_state() function to be optimized out with IS_ENABLED(). BRANCH=None BUG=b:185508707 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I3d94f290ac5b9ec82b46b9c0a6fc668b2e8dd91c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832693 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/btle_hci2.h')
0 files changed, 0 insertions, 0 deletions