summaryrefslogtreecommitdiff
path: root/board/samus
diff options
context:
space:
mode:
Diffstat (limited to 'board/samus')
-rw-r--r--board/samus/board.c16
-rw-r--r--board/samus/board.h1
2 files changed, 1 insertions, 16 deletions
diff --git a/board/samus/board.c b/board/samus/board.c
index 8f595d4e58..79d7aaa267 100644
--- a/board/samus/board.c
+++ b/board/samus/board.c
@@ -395,19 +395,3 @@ struct motion_sensor_t motion_sensors[] = {
};
const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
-
-/* Define the accelerometer orientation matrices. */
-const struct accel_orientation acc_orient = {
- /* Hinge aligns with y axis. */
- .rot_hinge_90 = {
- { FLOAT_TO_FP(1), 0, 0},
- { 0, FLOAT_TO_FP(1), 0},
- { 0, 0, FLOAT_TO_FP(1)}
- },
- .rot_hinge_180 = {
- { FLOAT_TO_FP(1), 0, 0},
- { 0, FLOAT_TO_FP(1), 0},
- { 0, 0, FLOAT_TO_FP(1)}
- },
- .hinge_axis = {0, 1, 0},
-};
diff --git a/board/samus/board.h b/board/samus/board.h
index 68a8fb665a..463a76be92 100644
--- a/board/samus/board.h
+++ b/board/samus/board.h
@@ -17,6 +17,7 @@
/* Optional features */
#define CONFIG_ACCELGYRO_LSM6DS0
#define CONFIG_ACCEL_KXCJ9
+#define CONFIG_ACCEL_STD_REF_FRAME_OLD
#define CONFIG_ALS
#define CONFIG_ALS_ISL29035
#define CONFIG_BOARD_VERSION