From 8504ffd8f250fc104c809b9166ea29627ad16af0 Mon Sep 17 00:00:00 2001
From: David Sidrane <david_s5@nscdg.com>
Date: Fri, 8 Mar 2019 14:13:10 -0800
Subject: [PATCH] nxp_fmuk66-v3:Set bmm150 orientation

---
 boards/nxp/fmuk66-v3/init/rc.board_sensors | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/boards/nxp/fmuk66-v3/init/rc.board_sensors b/boards/nxp/fmuk66-v3/init/rc.board_sensors
index b861181612..b739a31d68 100644
--- a/boards/nxp/fmuk66-v3/init/rc.board_sensors
+++ b/boards/nxp/fmuk66-v3/init/rc.board_sensors
@@ -7,9 +7,8 @@
 # External I2C bus
 hmc5883 -C -X start
 
-# Internal Mag I2C bus
-echo "error! bmm150 roatation needs to be set"
-bmm150 -R 2 start
+# Internal Mag I2C bus roll 180, yaw 90
+bmm150 -R 10 start
 
 # Possible external compasses
 ist8310 -C -b 1 start
-- 
GitLab