diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 13:29:45 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 19:59:32 +0000 |
commit | b9ee86a64f98c802dc83efe2a26c076652ae9794 (patch) | |
tree | e37b8edfba6e5c7f36ea4d6e00f0c765a59c2a93 | |
parent | 9a6651b6eb5861062c3c22b7d6a5e615bcab6e13 (diff) | |
download | chrome-ec-b9ee86a64f98c802dc83efe2a26c076652ae9794.tar.gz |
board/delbin/sensors.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I858cfcfc9ea89420e603c3e010f2ed6b7ee1be35
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728222
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | board/delbin/sensors.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/board/delbin/sensors.c b/board/delbin/sensors.c index a3d5015e2b..10dcd6b7b6 100644 --- a/board/delbin/sensors.c +++ b/board/delbin/sensors.c @@ -34,22 +34,18 @@ static struct bmi_drv_data_t g_bmi260_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 = { |