Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
djkazic authored Mar 10, 2024
1 parent 8e69f76 commit b810c75
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/AccelerometerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit b810c75

Please sign in to comment.