From b810c7583c1ad46201749367826852504bf99c3b Mon Sep 17 00:00:00 2001 From: Kevin Cai Date: Sun, 10 Mar 2024 18:30:38 -0400 Subject: [PATCH] Fix styling --- src/AccelerometerThread.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/AccelerometerThread.h b/src/AccelerometerThread.h index 8de281bd17..9898f4d49d 100644 --- a/src/AccelerometerThread.h +++ b/src/AccelerometerThread.h @@ -103,14 +103,13 @@ class AccelerometerThread : public concurrency::OSThread #endif struct bma423_axes_remap remap_data; - #ifdef T_WATCH_S3 remap_data.x_axis = 1; remap_data.x_axis_sign = 0; remap_data.y_axis = 0; remap_data.y_axis_sign = 0; - remap_data.z_axis = 2; - remap_data.z_axis_sign = 1; + remap_data.z_axis = 2; + remap_data.z_axis_sign = 1; #else remap_data.x_axis = 0; remap_data.x_axis_sign = 1; @@ -119,7 +118,6 @@ class AccelerometerThread : public concurrency::OSThread remap_data.z_axis = 2; remap_data.z_axis_sign = 1; #endif - // Need to raise the wrist function, need to set the correct axis bmaSensor.setRemapAxes(&remap_data); // sensor.enableFeature(BMA423_STEP_CNTR, true);