diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-21 13:28:11 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-22 11:24:29 -0700 |
commit | 10ac310605b32bf7fbd6fc83066e72e1e70a803c (patch) | |
tree | f7784c6416902032d6fd49164f9e8c1fbc94aa85 /include/keyboard_test.h | |
parent | 743c05f01f8f2b19dbf565bee645076fff75c42d (diff) | |
download | chrome-ec-10ac310605b32bf7fbd6fc83066e72e1e70a803c.tar.gz |
Move keyboard dimension and key constants to keyboard_config.h
These were previously duplicated between multiple keyboard_scan.c and
board.c files, and there were a bunch of different constants #defined
to be 13.
BUG=chrome-os-partner:18360
BRANCH=none
TEST=compile all boards; test keyboard on spring and link
Change-Id: I91bf9d56d2a56ff25ff307ff10883ca87b6937e5
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46165
Diffstat (limited to 'include/keyboard_test.h')
-rw-r--r-- | include/keyboard_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keyboard_test.h b/include/keyboard_test.h index df95d9c081..b1e4abb9c5 100644 --- a/include/keyboard_test.h +++ b/include/keyboard_test.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 The Chromium OS Authors. All rights reserved. + * Copyright (c) 2013 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -19,7 +19,7 @@ struct keyscan_item { timestamp_t abs_time; /* absolute timestamp to present this item */ uint32_t time_us; /* time for this item relative to test start */ uint8_t done; /* 1 if we managed to present this */ - uint8_t scan[KB_OUTPUTS]; + uint8_t scan[KEYBOARD_COLS]; }; /** |