diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 13:27:32 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 17:33:38 +0000 |
commit | 1f7cb1155b8045b58b23b47ce31504c63296b5e4 (patch) | |
tree | 22a86584df3d5d8155b9f92f51f777adfc59a8c3 /board/collis | |
parent | 76c403d69d4ebacd1943388f06645bc0d8c03b10 (diff) | |
download | chrome-ec-1f7cb1155b8045b58b23b47ce31504c63296b5e4.tar.gz |
board/collis/sensors.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Id8bb3c710a41e7233d83a72c193e89fd0775b94b
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728154
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/collis')
-rw-r--r-- | board/collis/sensors.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/board/collis/sensors.c b/board/collis/sensors.c index cdf6db971e..91ead904a2 100644 --- a/board/collis/sensors.c +++ b/board/collis/sensors.c @@ -36,22 +36,18 @@ static struct bmi_drv_data_t g_bmi160_data; static struct icm_drv_data_t g_icm426xx_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 = { - { 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 = { { 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_icm = { - { 0, FLOAT_TO_FP(1), 0}, - { FLOAT_TO_FP(1), 0, 0}, - { 0, 0, FLOAT_TO_FP(-1)}, + { 0, FLOAT_TO_FP(1), 0 }, + { FLOAT_TO_FP(1), 0, 0 }, + { 0, 0, FLOAT_TO_FP(-1) }, }; struct motion_sensor_t icm426xx_base_accel = { |