From 775b64595c9a0cd4fa64610c5850308918cda8d9 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 19 Nov 2015 04:53:51 -1000 Subject: [PATCH] Fixed hmc5983 --- ROMFS/px4fmu_common/init.d/rc.sensors | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index a822b82a4a..ad8f55c382 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -74,9 +74,8 @@ else then fi - # Internal SPI bus - if hmc5883 -C -T -S -R 0 - start + # Internal SPI bus is rotated 90 deg yaw + if hmc5883 -C -T -S -R 2 start then fi