diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-11-20 12:08:50 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-21 06:23:16 +0000 |
commit | e55bac2214f87ee59ef60960dee85fbebd13f6e9 (patch) | |
tree | a27cd23e7275cc88142929322a34ac20a646b976 /include/lightbar.h | |
parent | e0c80ace56989937602960f53381fe160a355640 (diff) | |
download | chrome-ec-e55bac2214f87ee59ef60960dee85fbebd13f6e9.tar.gz |
Improve EC console messages for lightbar stuff
I need more information to find the source of some problems. This
just adds a little more context to the lightbar console messages.
BUG=chrome-os-partner:33401
BRANCH=ToT,samus
TEST=make buildall -j
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: I97a210754833c9384eae517f9df2e97d3a9ea6b4
Reviewed-on: https://chromium-review.googlesource.com/231136
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/lightbar.h')
-rw-r--r-- | include/lightbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lightbar.h b/include/lightbar.h index e3792b41f0..293eeb2ab2 100644 --- a/include/lightbar.h +++ b/include/lightbar.h @@ -35,7 +35,8 @@ enum lb_control { }; /* Request a preset sequence from the lightbar task. */ -void lightbar_sequence(enum lightbar_sequence s); +void lightbar_sequence_f(enum lightbar_sequence num, const char *f); +#define lightbar_sequence(A) lightbar_sequence_f(A, __func__) /****************************************************************************/ /* External stuff */ |