summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/metaknight/board.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/metaknight/board.c b/board/metaknight/board.c
index 45496c2992..2910c366ed 100644
--- a/board/metaknight/board.c
+++ b/board/metaknight/board.c
@@ -359,15 +359,15 @@ static struct mutex g_base_mutex;
/* Matrices to rotate accelerometers into the standard reference. */
static const mat33_fp_t lid_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)}
};
static const mat33_fp_t base_standard_ref = {
- { 0, FLOAT_TO_FP(1), 0},
- { FLOAT_TO_FP(-1), 0, 0},
- { 0, 0, FLOAT_TO_FP(1)}
+ { FLOAT_TO_FP(1), 0, 0},
+ { 0, FLOAT_TO_FP(-1), 0},
+ { 0, 0, FLOAT_TO_FP(-1)}
};
static struct accelgyro_saved_data_t g_bma253_data;