diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 13:23:33 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 12:42:26 +0000 |
commit | 2f251eb2831ea6cb2bf9dd5465902c7ee2372dd7 (patch) | |
tree | 0824fdddfb89ffd5ef0819261ff870723dc7ec18 /board/boldar/sensors.c | |
parent | 0a65f8af965b6394bf9327d6b5e2d97c9bda2592 (diff) | |
download | chrome-ec-2f251eb2831ea6cb2bf9dd5465902c7ee2372dd7.tar.gz |
board/boldar/sensors.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Id40ddea9bfbb081b550405a5fdc44034d31043ce
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728066
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/boldar/sensors.c')
-rw-r--r-- | board/boldar/sensors.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/board/boldar/sensors.c b/board/boldar/sensors.c index 534065cde3..1d9cb27558 100644 --- a/board/boldar/sensors.c +++ b/board/boldar/sensors.c @@ -85,17 +85,13 @@ static struct tcs3400_rgb_drv_data_t g_tcs3400_rgb_data = { }; /* Rotation matrix for the lid accelerometer */ -static const mat33_fp_t lid_standard_ref = { - { FLOAT_TO_FP(1), 0, 0}, - { 0, FLOAT_TO_FP(-1), 0}, - { 0, 0, FLOAT_TO_FP(-1)} -}; +static const mat33_fp_t lid_standard_ref = { { FLOAT_TO_FP(1), 0, 0 }, + { 0, FLOAT_TO_FP(-1), 0 }, + { 0, 0, FLOAT_TO_FP(-1) } }; -const mat33_fp_t base_standard_ref = { - { 0, FLOAT_TO_FP(1), 0}, - { FLOAT_TO_FP(-1), 0, 0}, - { 0, 0, FLOAT_TO_FP(1)} -}; +const mat33_fp_t base_standard_ref = { { 0, FLOAT_TO_FP(1), 0 }, + { FLOAT_TO_FP(-1), 0, 0 }, + { 0, 0, FLOAT_TO_FP(1) } }; struct motion_sensor_t motion_sensors[] = { [LID_ACCEL] = { |