diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/lazor/board.c | 4 | ||||
-rw-r--r-- | board/trogdor/board.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/lazor/board.c b/board/lazor/board.c index 636c1dc80a..5ee56cd13e 100644 --- a/board/lazor/board.c +++ b/board/lazor/board.c @@ -424,9 +424,9 @@ static struct kionix_accel_data g_kx022_data; /* Matrix to rotate accelerometer into standard reference frame */ 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)} + { 0, 0, FLOAT_TO_FP(-1)} }; static const mat33_fp_t lid_standard_ref = { diff --git a/board/trogdor/board.c b/board/trogdor/board.c index bdbf4cb809..440c097069 100644 --- a/board/trogdor/board.c +++ b/board/trogdor/board.c @@ -437,9 +437,9 @@ static struct bmi_drv_data_t g_bmi160_data; /* Matrix to rotate accelerometer into standard reference frame */ 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)} + { 0, 0, FLOAT_TO_FP(-1)} }; struct motion_sensor_t motion_sensors[] = { |