diff options
Diffstat (limited to 'common/keyboard_test.c')
-rw-r--r-- | common/keyboard_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/keyboard_test.c b/common/keyboard_test.c index 03d31fd63b..580d4745cf 100644 --- a/common/keyboard_test.c +++ b/common/keyboard_test.c @@ -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. */ @@ -78,7 +78,7 @@ uint8_t keyscan_seq_get_scan(int column, uint8_t scan) int c; scan = 0; - for (c = 0; c < KB_OUTPUTS; c++) + for (c = 0; c < KEYBOARD_COLS; c++) scan |= item->scan[c]; } else { scan = item->scan[column]; |