Skip to content

Commit 9c0645a

Browse files
committed
fw/board/obelix: fix accelerometer axes config
Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent ed162d7 commit 9c0645a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fw/board/boards/board_obelix.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ static const BoardConfigAccel BOARD_CONFIG_ACCEL = {
5555
.axes_offsets[AXIS_X] = 1,
5656
.axes_offsets[AXIS_Y] = 0,
5757
.axes_offsets[AXIS_Z] = 2,
58-
.axes_inverts[AXIS_X] = false,
59-
.axes_inverts[AXIS_Y] = true,
58+
.axes_inverts[AXIS_X] = true,
59+
.axes_inverts[AXIS_Y] = false,
6060
.axes_inverts[AXIS_Z] = true,
6161
#endif
6262
// TODO(OBELIX): Needs calibration

0 commit comments

Comments
 (0)