Compass: Erle-Brain 2 and PXFmini fix
This commit is contained in:
parent
3ea05759d1
commit
5d28fbfa1b
@ -33,6 +33,9 @@
|
|||||||
# define MAG_BOARD_ORIENTATION ROTATION_ROLL_180
|
# define MAG_BOARD_ORIENTATION ROTATION_ROLL_180
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
||||||
# define MAG_BOARD_ORIENTATION ROTATION_YAW_90
|
# define MAG_BOARD_ORIENTATION ROTATION_YAW_90
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2 || \
|
||||||
|
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXFMINI)
|
||||||
|
# define MAG_BOARD_ORIENTATION ROTATION_YAW_270
|
||||||
#else
|
#else
|
||||||
# define MAG_BOARD_ORIENTATION ROTATION_NONE
|
# define MAG_BOARD_ORIENTATION ROTATION_NONE
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user