AP_Compass: fixed orientation on Linux

This commit is contained in:
Andrew Tridgell 2013-10-08 11:11:10 +11:00
parent 83c942a512
commit f286369990
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
# define MAG_BOARD_ORIENTATION ROTATION_NONE
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
# define MAG_BOARD_ORIENTATION ROTATION_NONE
# define MAG_BOARD_ORIENTATION ROTATION_YAW_90
#else
# error "You must define a default compass orientation for this board"
#endif