board/arcada_ish/board.c: Format with clang-format
BRANCH=none
TEST=none
@@ -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},
+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)}
-};
+ { 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. */
