Coachz: correct g_sensor orientation
Correct the g-sensor oriention to match the latest board.
BRANCH=none
TEST=make BOARD=coachz -j
TEST=check the screen oriention.
@@ -319,8 +319,8 @@ static struct bmi_drv_data_t g_bmi160_data;
/* Matrix to rotate accelerometer into standard reference frame */
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},
+ { FLOAT_TO_FP(1), 0, 0},
{ 0, 0, FLOAT_TO_FP(1)}
};
