summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/copano/sensors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/copano/sensors.c b/board/copano/sensors.c
index 6604d312ea..ba667f755c 100644
--- a/board/copano/sensors.c
+++ b/board/copano/sensors.c
@@ -30,13 +30,13 @@ static struct bmi_drv_data_t g_bmi160_data;
/* Rotation matrix for the lid accelerometer */
static const mat33_fp_t lid_standard_ref = {
- { FLOAT_TO_FP(1), 0, 0},
+ { 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},
+ { FLOAT_TO_FP(1), 0, 0},
{ 0, FLOAT_TO_FP(-1), 0},
{ 0, 0, FLOAT_TO_FP(-1)}
};