summaryrefslogtreecommitdiff
path: root/board/dratini/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/dratini/board.c')
-rw-r--r--board/dratini/board.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/board/dratini/board.c b/board/dratini/board.c
index f6fe06cdbc..199d9bd7ec 100644
--- a/board/dratini/board.c
+++ b/board/dratini/board.c
@@ -182,19 +182,14 @@ static struct accelgyro_saved_data_t g_bma255_data;
/* Matrix to rotate accelrator into standard reference frame */
static const mat33_fp_t base_standard_ref = {
- { 0, FLOAT_TO_FP(1), 0},
{ FLOAT_TO_FP(-1), 0, 0},
+ { 0, FLOAT_TO_FP(-1), 0},
{ 0, 0, FLOAT_TO_FP(1)}
};
-/*
- * TODO(b/124337208): P0 boards don't have this sensor mounted so the rotation
- * matrix can't be tested properly. This needs to be revisited after EVT to make
- * sure the rotaiton matrix for the lid sensor is correct.
- */
static const mat33_fp_t lid_standard_ref = {
+ { FLOAT_TO_FP(1), 0, 0},
{ 0, FLOAT_TO_FP(-1), 0},
- { FLOAT_TO_FP(-1), 0, 0},
{ 0, 0, FLOAT_TO_FP(-1)}
};