summaryrefslogtreecommitdiff
path: root/board/arcada_ish/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/arcada_ish/board.c')
-rw-r--r--board/arcada_ish/board.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/board/arcada_ish/board.c b/board/arcada_ish/board.c
index b23784cd38..d340f61251 100644
--- a/board/arcada_ish/board.c
+++ b/board/arcada_ish/board.c
@@ -1,4 +1,4 @@
-/* Copyright 2018 The Chromium OS Authors. All rights reserved.
+/* Copyright 2018 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -42,11 +42,9 @@ static struct stprivate_data g_lis2dh_data;
static struct lis2mdl_private_data lis2mdl_a_data;
/* Matrix to rotate lid sensor into standard reference frame */
-const mat33_fp_t lid_rot_ref = {
- { FLOAT_TO_FP(-1), 0, 0},
- { 0, FLOAT_TO_FP(-1), 0},
- { 0, 0, FLOAT_TO_FP(1)}
-};
+const mat33_fp_t lid_rot_ref = { { FLOAT_TO_FP(-1), 0, 0 },
+ { 0, FLOAT_TO_FP(-1), 0 },
+ { 0, 0, FLOAT_TO_FP(1) } };
/* Drivers */
struct motion_sensor_t motion_sensors[] = {
@@ -155,8 +153,7 @@ int board_sensor_at_360(void)
* closed at 0 degrees. Ignore the hall sensor when the lid close is
* also active.
*/
- return lid_is_open() &&
- !gpio_get_level(GPIO_TABLET_MODE_L);
+ return lid_is_open() && !gpio_get_level(GPIO_TABLET_MODE_L);
}
/* Initialize board. */