mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: fixed orientation on Linux
This commit is contained in:
parent
83c942a512
commit
f286369990
|
@ -32,7 +32,7 @@
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
# define MAG_BOARD_ORIENTATION ROTATION_NONE
|
# define MAG_BOARD_ORIENTATION ROTATION_NONE
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
# define MAG_BOARD_ORIENTATION ROTATION_NONE
|
# define MAG_BOARD_ORIENTATION ROTATION_YAW_90
|
||||||
#else
|
#else
|
||||||
# error "You must define a default compass orientation for this board"
|
# error "You must define a default compass orientation for this board"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue