diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2014-05-02 12:22:24 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-05-07 03:41:22 +0000 |
commit | 4ba7a1502dabc4728d8e68572642dafafbd54692 (patch) | |
tree | f6183dfe771668a3c3aa77b42c3002af17dd9235 /common/keyboard_scan.c | |
parent | 58c50a970ab7df4f0e3f1b188e6b1966a9d47d1d (diff) | |
download | chrome-ec-4ba7a1502dabc4728d8e68572642dafafbd54692.tar.gz |
cleanup: add square brackets to make test parser easier
This may not contain all. I filtered out possible code by the
following command:
find . -name "*.h*" -o -name "*.c*" | xargs grep -n CPRINTF | \
grep -v "\[" | grep -v define | less
BUG=none
BRANCH=none
TEST=make buildall tuntests
Change-Id: I674f84f5966b34aeb8d4321d22629b450627a120
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/197997
Diffstat (limited to 'common/keyboard_scan.c')
-rw-r--r-- | common/keyboard_scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/keyboard_scan.c b/common/keyboard_scan.c index 6214f0934e..9007f4dff6 100644 --- a/common/keyboard_scan.c +++ b/common/keyboard_scan.c @@ -438,13 +438,14 @@ static int check_keys_changed(uint8_t *state) #ifdef PRINT_SCAN_TIMES /* Print delta times from now back to each previous scan */ + CPRINTF("[%T kb deltaT"); for (i = 0; i < SCAN_TIME_COUNT; i++) { int tnew = scan_time[ (SCAN_TIME_COUNT + scan_time_index - i) % SCAN_TIME_COUNT]; CPRINTF(" %d", tnow - tnew); } - CPRINTF("\n"); + CPRINTF("]\n"); #endif /* Swallow special keys */ |